mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Dialog: Fixed #4015: Set z-index on shadow when the dialog opens.
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user