aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-16 00:05:40 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-26 10:28:23 +0100
commit0bc73b74b6acfe3c6b996e272649fbdbd14ce0f6 (patch)
treef9f84167773f890788f05e1bbecae76eb41392aa /ui
parent972f5c192c7c516659497c95452b159aae5f52df (diff)
downloadjquery-ui-0bc73b74b6acfe3c6b996e272649fbdbd14ce0f6.tar.gz
jquery-ui-0bc73b74b6acfe3c6b996e272649fbdbd14ce0f6.zip
Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed outdated TODOs.
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.dialog.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 314db95ff..8a52ff236 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -427,7 +427,6 @@ $.widget("ui.dialog", {
});
},
- // TODO why are handles passed by _setOption??
_makeResizable: function() {
var that = this,
options = this.options,
@@ -580,15 +579,6 @@ $.widget("ui.dialog", {
});
}
- if ( key === "disabled" ) {
- // TODO use toggleClass( "ui-dialog-disabled", value )
- if ( value ) {
- uiDialog.addClass( "ui-dialog-disabled" );
- } else {
- uiDialog.removeClass( "ui-dialog-disabled" );
- }
- }
-
if ( key === "draggable" ) {
isDraggable = uiDialog.is( ":data(ui-draggable)" );
if ( isDraggable && !value ) {
@@ -624,7 +614,6 @@ $.widget("ui.dialog", {
if ( key === "title" ) {
// convert whatever was passed in to a string, for html() to not throw up
- // TODO deduplicate this (see _create)
$( ".ui-dialog-title", this.uiDialogTitlebar )
.html( "" + ( value || "&#160;" ) );
}