Skip to content
Permalink
Browse files

Dialog: Fixed stacking problem with modal dialogs.

  • Loading branch information
scottgonzalez committed Jun 26, 2008
1 parent acca0ba commit bb004614fd97687091e8c0f86e078cc7a21f2dfb
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.dialog.js
@@ -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() {

0 comments on commit bb00461

Please sign in to comment.
You can’t perform that action at this time.