Dialog: Removed functionality for copying classes from the main element to the wrapper div. This was used for themes, but this method of theming is no longer encouraged.

This commit is contained in:
Scott González 2008-09-28 01:17:32 +00:00
parent 0dd3b17185
commit e1f4ea3ed3

View File

@ -67,10 +67,6 @@ $.widget("ui.dialog", {
.hide() .hide()
.addClass('ui-dialog') .addClass('ui-dialog')
.addClass(options.dialogClass) .addClass(options.dialogClass)
// add content classes to dialog
// to inherit theme at top level of element
.addClass(uiDialogContent.attr('className'))
.removeClass('ui-dialog-content')
.css({ .css({
position: 'absolute', position: 'absolute',
width: options.width, width: options.width,