Dialog: Remove ui-widget-content class on destroy.

This commit is contained in:
Scott González 2008-12-11 03:05:02 +00:00
parent a9912abb2a
commit efdc61bd5b

View File

@ -164,7 +164,7 @@ $.widget("ui.dialog", {
this.element
.unbind('.dialog')
.removeData('dialog')
.removeClass('ui-dialog-content')
.removeClass('ui-dialog-content ui-widget-content')
.hide().appendTo('body');
this.uiDialog.remove();