From 8c4989914bc8cea523c9fece49111ffa84cb43df Mon Sep 17 00:00:00 2001 From: Scott González Date: Sun, 1 Feb 2009 01:29:58 +0000 Subject: Dialog: Fixed #4015: Set z-index on shadow when the dialog opens. --- ui/ui.dialog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/ui.dialog.js') diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index ac43fcdc3..a9c219a13 100644 --- a/ui/ui.dialog.js +++ b/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; }, -- cgit v1.2.3