mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: added dialogClass option (not officially supported right now).
This commit is contained in:
parent
c76f3194a1
commit
3d16364e61
@ -44,7 +44,7 @@
|
|||||||
.wrap(document.createElement('div'));
|
.wrap(document.createElement('div'));
|
||||||
var uiDialogContainer = uiDialogContent.parent().addClass('ui-dialog-container').css({position: 'relative'});
|
var uiDialogContainer = uiDialogContent.parent().addClass('ui-dialog-container').css({position: 'relative'});
|
||||||
var uiDialog = (this.uiDialog = uiDialogContainer.parent()).hide()
|
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'});
|
.css({position: 'absolute', width: options.width, height: options.height, overflow: 'hidden'});
|
||||||
|
|
||||||
var classNames = uiDialogContent.attr('className').split(' ');
|
var classNames = uiDialogContent.attr('className').split(' ');
|
||||||
|
Loading…
Reference in New Issue
Block a user