aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-11-09 13:28:13 -0500
committerScott González <scott.gonzalez@gmail.com>2012-11-09 13:28:13 -0500
commitf5870712c1f73c474a6980bb16d12768f4150984 (patch)
tree908c260e0e03ac398cbc1398606e73221058ee2b /ui/jquery.ui.dialog.js
parent498aadf644ddca86de838dc2001267ded972df2c (diff)
downloadjquery-ui-f5870712c1f73c474a6980bb16d12768f4150984.tar.gz
jquery-ui-f5870712c1f73c474a6980bb16d12768f4150984.zip
Updated all widgets to use proper data keys when getting plugin instances.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 203618fc2..07c5c7cb6 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -516,7 +516,7 @@ $.widget("ui.dialog", {
if ( resize ) {
this._size();
}
- if ( this.uiDialog.is( ":data(resizable)" ) ) {
+ if ( this.uiDialog.is( ":data(ui-resizable)" ) ) {
this.uiDialog.resizable( "option", resizableOptions );
}
},
@@ -546,7 +546,7 @@ $.widget("ui.dialog", {
}
break;
case "draggable":
- isDraggable = uiDialog.is( ":data(draggable)" );
+ isDraggable = uiDialog.is( ":data(ui-draggable)" );
if ( isDraggable && !value ) {
uiDialog.draggable( "destroy" );
}
@@ -560,7 +560,7 @@ $.widget("ui.dialog", {
break;
case "resizable":
// currently resizable, becoming non-resizable
- isResizable = uiDialog.is( ":data(resizable)" );
+ isResizable = uiDialog.is( ":data(ui-resizable)" );
if ( isResizable && !value ) {
uiDialog.resizable( "destroy" );
}
@@ -621,7 +621,7 @@ $.widget("ui.dialog", {
this.element.height( Math.max( options.height - nonContentHeight, 0 ) );
}
- if (this.uiDialog.is( ":data(resizable)" ) ) {
+ if (this.uiDialog.is( ":data(ui-resizable)" ) ) {
this.uiDialog.resizable( "option", "minHeight", this._minHeight() );
}
}