aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
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 77bf68dd1..b6ac7aed7 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -215,6 +215,7 @@ $.widget( "ui.dialog", {
return;
}
+ this._isOpen = true;
this.opener = $( this.document[0].activeElement );
this._size();
@@ -226,7 +227,6 @@ $.widget( "ui.dialog", {
that._trigger("focus");
});
- this._isOpen = true;
this._trigger("open");
},