We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acca0ba commit bb00461Copy full SHA for bb00461
1 file changed
ui/ui.dialog.js
@@ -260,7 +260,8 @@ $.widget("ui.dialog", {
260
// the force parameter allows us to move modal dialogs to their correct
261
// position on open
262
moveToTop: function(force) {
263
- if ((this.options.modal && !force) || !this.options.stack) { return; }
+ if ((this.options.modal && !force)
264
+ || (!this.options.stack && !this.options.modal)) { return; }
265
266
var maxZ = this.options.zIndex, options = this.options;
267
$('.ui-dialog:visible').each(function() {
0 commit comments