dialog: added some missing defaults

This commit is contained in:
Richard Worth 2009-02-09 11:15:23 +00:00
parent ff3998265d
commit 176b2d21cd
2 changed files with 8 additions and 2 deletions

View File

@ -12,13 +12,15 @@ var dialog_defaults = {
dialogClass: '', dialogClass: '',
draggable: true, draggable: true,
height: 'auto', height: 'auto',
maxHeight: undefined, hide: null,
maxWidth: undefined, maxHeight: false,
maxWidth: false,
minHeight: 150, minHeight: 150,
minWidth: 150, minWidth: 150,
modal: false, modal: false,
position: 'center', position: 'center',
resizable: true, resizable: true,
show: null,
stack: true, stack: true,
title: '', title: '',
width: 300, width: 300,

View File

@ -484,12 +484,16 @@ $.extend($.ui.dialog, {
closeText: 'close', closeText: 'close',
dialogClass: '', dialogClass: '',
draggable: true, draggable: true,
hide: null,
height: 'auto', height: 'auto',
maxHeight: false,
maxWidth: false,
minHeight: 150, minHeight: 150,
minWidth: 150, minWidth: 150,
modal: false, modal: false,
position: 'center', position: 'center',
resizable: true, resizable: true,
show: null,
stack: true, stack: true,
title: '', title: '',
width: 300, width: 300,