mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-01 23:05:01 -05:00
Dialog: Fixed stacking problem with modal dialogs.
This commit is contained in:
@@ -260,7 +260,8 @@ $.widget("ui.dialog", {
|
||||
// the force parameter allows us to move modal dialogs to their correct
|
||||
// position on open
|
||||
moveToTop: function(force) {
|
||||
if ((this.options.modal && !force) || !this.options.stack) { return; }
|
||||
if ((this.options.modal && !force)
|
||||
|| (!this.options.stack && !this.options.modal)) { return; }
|
||||
|
||||
var maxZ = this.options.zIndex, options = this.options;
|
||||
$('.ui-dialog:visible').each(function() {
|
||||
|
||||
Reference in New Issue
Block a user