Skip to main content

Search and Top Navigation

#9659 closed bug (notabug)

Opened November 14, 2013 05:32PM UTC

Closed November 15, 2013 12:21PM UTC

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.

Attachments (0)
Change History (6)

Changed November 14, 2013 05:36PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
owner: → g0G3t4
status: newpending

Please provide a reduced test case showing this problem. You can use http://jsfiddle.net/QFp2J/13/ as a starting point.

Changed November 14, 2013 08:47PM UTC by g0G3t4 comment:2

status: pendingnew

Replying to [comment:1 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.

Changed November 14, 2013 08:52PM UTC by scottgonzalez comment:3

status: newpending

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).

Changed November 15, 2013 09:08AM UTC by g0G3t4 comment:4

status: pendingnew

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

Changed November 15, 2013 09:16AM UTC by g0G3t4 comment:5

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

Changed November 15, 2013 12:21PM UTC by scottgonzalez comment:6

resolution: → notabug
status: newclosed

Please use the forums or Stack Overflow for help.