File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,6 @@ $.widget("ui.dialog", {
427
427
} ) ;
428
428
} ,
429
429
430
- // TODO why are handles passed by _setOption??
431
430
_makeResizable : function ( ) {
432
431
var that = this ,
433
432
options = this . options ,
@@ -580,15 +579,6 @@ $.widget("ui.dialog", {
580
579
} ) ;
581
580
}
582
581
583
- if ( key === "disabled" ) {
584
- // TODO use toggleClass( "ui-dialog-disabled", value )
585
- if ( value ) {
586
- uiDialog . addClass ( "ui-dialog-disabled" ) ;
587
- } else {
588
- uiDialog . removeClass ( "ui-dialog-disabled" ) ;
589
- }
590
- }
591
-
592
582
if ( key === "draggable" ) {
593
583
isDraggable = uiDialog . is ( ":data(ui-draggable)" ) ;
594
584
if ( isDraggable && ! value ) {
@@ -624,7 +614,6 @@ $.widget("ui.dialog", {
624
614
625
615
if ( key === "title" ) {
626
616
// convert whatever was passed in to a string, for html() to not throw up
627
- // TODO deduplicate this (see _create)
628
617
$ ( ".ui-dialog-title" , this . uiDialogTitlebar )
629
618
. html ( "" + ( value || " " ) ) ;
630
619
}
You can’t perform that action at this time.
0 commit comments