Skip to main content

Search and Top Navigation

#7030 closed bug (notabug)

Opened February 23, 2011 09:21AM UTC

Closed February 23, 2011 10:31AM UTC

dialogs that aren't modal still get pushed to top of zIndex stack

Reported by: tolas Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

A minor issue here;

(complete jquery-ui download) : jquery-ui-1.8.9.custom.js : line 5903 : in function _create()

should be:

.mousedown(function(event) {

if (options.modal) self.moveToTop(false, event);

}),

but is in the distro:

.mousedown(function(event) {

self.moveToTop(false, event);

}),

The bug is that non-modal dialogs will get pushed over (zIndex++) "truely modal" dialogs when they are clicked on. As i have a large nonmodal dialog and a modal dialog i wish to keep modal on top of it, i had to make this change to my jquery sources.

Nevertheless, many thanks for the work put into jquery and jquery-ui :)

Attachments (0)
Change History (1)

Changed February 23, 2011 10:31AM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
resolution: → invalid
status: newclosed

The only way this case should ever occur is if you open a non-modal dialog after opening a modal dialog, in which case both dialogs should be able to be in front.