Skip to content

Commit

Permalink
Dialog: Fixed #4015: Set z-index on shadow when the dialog opens.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Feb 1, 2009
1 parent 5c15571 commit 8c49899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/ui.dialog.js
Expand Up @@ -210,6 +210,7 @@ $.widget("ui.dialog", {
this._size(); this._size();
this._position(options.position); this._position(options.position);
uiDialog.show(options.show); uiDialog.show(options.show);
(options.shadow && this._createShadow());
this.moveToTop(true, event); this.moveToTop(true, event);


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


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

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

0 comments on commit 8c49899

Please sign in to comment.