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

This commit is contained in:
Scott González
2009-02-01 01:29:58 +00:00
parent 5c155719a8
commit 8c4989914b

View File

@@ -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;
},