Skip to content
Permalink
Browse files

Dialog: Fixed #4015: Set z-index on shadow when the dialog opens.

  • Loading branch information
scottgonzalez committed Feb 1, 2009
1 parent 5c15571 commit 8c4989914bc8cea523c9fece49111ffa84cb43df
Showing with 1 addition and 2 deletions.
  1. +1 −2 ui/ui.dialog.js
@@ -210,6 +210,7 @@ $.widget("ui.dialog", {
this._size();
this._position(options.position);
uiDialog.show(options.show);
(options.shadow && this._createShadow());
this.moveToTop(true, event);

// prevent tabbing out of modal dialogs
@@ -244,8 +245,6 @@ $.widget("ui.dialog", {
.filter(':first')
.focus();

(options.shadow && this._createShadow());

this._trigger('open', event);
this._isOpen = true;
},

0 comments on commit 8c49899

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