mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Only add the new dialogClass, not the base classes when changing the option.
This commit is contained in:
parent
324d54dd32
commit
f7d3a51589
3
ui/jquery.ui.dialog.js
vendored
3
ui/jquery.ui.dialog.js
vendored
@ -578,8 +578,7 @@ $.widget("ui.dialog", {
|
|||||||
case "dialogClass":
|
case "dialogClass":
|
||||||
uiDialog
|
uiDialog
|
||||||
.removeClass( this.options.dialogClass )
|
.removeClass( this.options.dialogClass )
|
||||||
// TODO why adding uiDialogClasses again? we didn't remove those
|
.addClass( value );
|
||||||
.addClass( uiDialogClasses + value );
|
|
||||||
break;
|
break;
|
||||||
case "disabled":
|
case "disabled":
|
||||||
// TODO use toggleClass( "ui-dialog-disabled", value )
|
// TODO use toggleClass( "ui-dialog-disabled", value )
|
||||||
|
Loading…
Reference in New Issue
Block a user