From 3d16364e611bf059eb5145d90e370dd906a7f149 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 30 May 2008 18:08:39 +0000 Subject: [PATCH] Dialog: added dialogClass option (not officially supported right now). --- ui/source/ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' '); -- 2.39.5