diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-02 08:35:40 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-02 08:35:40 -0400 |
commit | de02aa34a80eec32ad19e0c83ac88073ee551483 (patch) | |
tree | 93720948c6dfad39d7f12dcb7e828543fcf95031 /ui/jquery.ui.dialog.js | |
parent | 5de8ced5d9e8b18d96cb2e3868123dd41402fc00 (diff) | |
download | jquery-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.js | 2 |
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; }, |