Opened 9 years ago
Closed 9 years ago
#9659 closed bug (notabug)
Modal dialog - overlay fail in 1.10.3
Reported by: | g0G3t4 | Owned by: | g0G3t4 |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.dialog | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery UI 1.10.3 jQuery UI 1.10.2 open a modal dialog from a DIV previosly loaded with a POST content.
$('#id').dialog({
title: title, width: width, height: height, modal: true, appendTo: '#' + parent_id
});
Close the dialog with a relative method
$('#id').dialog('close');
called from a button inside dialog or using the X closing button.
reopen the dialog calling:
$('#id').dialog('open');
or
$('#id').dialog("option", "modal", true); $('#id').dialog('open');
the dialog is showed but overlay is hide .
With jQuery UI 1.9.2 all works good.
Change History (6)
comment:1 follow-up: 2 Changed 9 years ago by
Component: | ui.core → ui.dialog |
---|---|
Owner: | set to g0G3t4 |
Status: | new → pending |
comment:2 Changed 9 years ago by
Status: | pending → new |
---|
Replying to scott.gonzalez:
Please provide a reduced test case showing this problem. You can use http://jsfiddle.net/QFp2J/13/ as a starting point.
http://jsfiddle.net/QFp2J/25/
I link the UI v. 1.10.3 I can't reproduce the problem because i can't load a local page with method load() but that is my code... i don't think the problem is css because with UI v. 1.9.2 all works good.
comment:3 Changed 9 years ago by
Status: | new → pending |
---|
You can create another fiddle with the content you want to load and then tack /show
on to the URL to get just the results, not the framed editor. You can also use the /echo
URLs (See http://doc.jsfiddle.net/use/echo.html for docs).
comment:4 Changed 9 years ago by
Status: | pending → new |
---|
Hi Scott, i reproduce the problem
http://jsfiddle.net/QFp2J/32/ & http://jsfiddle.net/QFp2J/33/
I found the error in my code, because the second time i recall the function dialog with again the param 'AppendTo' and not only ".dialog('open')" method because bfirst id declare wrong bfist without r
in version 33 there is only the problem , but with UI 1.9.2 all works good so see you if you want to fix that,
see you and sry for the time lost
have a good day
comment:5 Changed 9 years ago by
Sry again , is possible to verify that if the component that i use for .dialog has just a parent to leave it there and not that UI move it around the DOM?
ty again
comment:6 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Please use the forums or Stack Overflow for help.
Please provide a reduced test case showing this problem. You can use http://jsfiddle.net/QFp2J/13/ as a starting point.