aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-01 01:29:58 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-01 01:29:58 +0000
commit8c4989914bc8cea523c9fece49111ffa84cb43df (patch)
tree6a6bc181f11c52edff03a70264434d14aa7bfefd
parent5c155719a81e18f4cc88f2de2388bc42c6732db5 (diff)
downloadjquery-ui-8c4989914bc8cea523c9fece49111ffa84cb43df.tar.gz
jquery-ui-8c4989914bc8cea523c9fece49111ffa84cb43df.zip
Dialog: Fixed #4015: Set z-index on shadow when the dialog opens.
-rw-r--r--ui/ui.dialog.js3
1 files changed, 1 insertions, 2 deletions
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;
},