From 8c4989914bc8cea523c9fece49111ffa84cb43df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 1 Feb 2009 01:29:58 +0000 Subject: [PATCH] Dialog: Fixed #4015: Set z-index on shadow when the dialog opens. --- ui/ui.dialog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index ac43fcdc34..a9c219a135 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; },