aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-02 08:35:40 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-02 08:35:40 -0400
commitde02aa34a80eec32ad19e0c83ac88073ee551483 (patch)
tree93720948c6dfad39d7f12dcb7e828543fcf95031 /ui/jquery.ui.dialog.js
parent5de8ced5d9e8b18d96cb2e3868123dd41402fc00 (diff)
downloadjquery-ui-de02aa34a80eec32ad19e0c83ac88073ee551483.tar.gz
jquery-ui-de02aa34a80eec32ad19e0c83ac88073ee551483.zip
Dialog: Set the _isOpen flag before triggering the open event. Fixes #6012 - Dialog: _isOpen flag should be set before triggering open event.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 17300b178..a1c911b8e 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -329,8 +329,8 @@ $.widget("ui.dialog", {
uiDialog.find('.ui-dialog-buttonpane :tabbable').get().concat(
uiDialog.get()))).eq(0).focus();
- self._trigger('open');
self._isOpen = true;
+ self._trigger('open');
return self;
},