aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/widgets/dialog.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js
index 4380c6f8f..6070014c9 100644
--- a/ui/widgets/dialog.js
+++ b/ui/widgets/dialog.js
@@ -129,6 +129,11 @@ $.widget( "ui.dialog", {
this.options.title = this.originalTitle;
}
+ // Dialogs can't be disabled
+ if ( this.options.disabled ) {
+ this.options.disabled = false;
+ }
+
this._createWrapper();
this.element