Skip to content
Permalink
Browse files

Dialog: Only add the new dialogClass, not the base classes when chang…

…ing the option.
  • Loading branch information...
jzaefferer committed Nov 9, 2012
1 parent 324d54d commit f7d3a51589b30fd1be59339ca65b0e4bc6cfac8f
Showing with 1 addition and 2 deletions.
  1. +1 −2 ui/jquery.ui.dialog.js
@@ -578,8 +578,7 @@ $.widget("ui.dialog", {
case "dialogClass":
uiDialog
.removeClass( this.options.dialogClass )
// TODO why adding uiDialogClasses again? we didn't remove those
.addClass( uiDialogClasses + value );
.addClass( value );
break;
case "disabled":
// TODO use toggleClass( "ui-dialog-disabled", value )

0 comments on commit f7d3a51

Please sign in to comment.
You can’t perform that action at this time.