From: Scott González Date: Fri, 30 May 2008 18:08:39 +0000 (+0000) Subject: Dialog: added dialogClass option (not officially supported right now). X-Git-Tag: 1.5.1~267 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d16364e611bf059eb5145d90e370dd906a7f149;p=jquery-ui.git Dialog: added dialogClass option (not officially supported right now). --- diff --git a/ui/source/ui.dialog.js b/ui/source/ui.dialog.js index 1d37bea5f..a2f98a820 100644 --- a/ui/source/ui.dialog.js +++ b/ui/source/ui.dialog.js @@ -44,7 +44,7 @@ .wrap(document.createElement('div')); var uiDialogContainer = uiDialogContent.parent().addClass('ui-dialog-container').css({position: 'relative'}); var uiDialog = (this.uiDialog = uiDialogContainer.parent()).hide() - .addClass('ui-dialog') + .addClass('ui-dialog').addClass(options.dialogClass) .css({position: 'absolute', width: options.width, height: options.height, overflow: 'hidden'}); var classNames = uiDialogContent.attr('className').split(' ');