2009-02-02 14:36:08 +00:00
|
|
|
/*
|
|
|
|
* dialog_defaults.js
|
|
|
|
*/
|
|
|
|
|
|
|
|
var dialog_defaults = {
|
2009-02-04 04:35:18 +00:00
|
|
|
autoOpen: true,
|
|
|
|
buttons: {},
|
|
|
|
closeOnEscape: true,
|
|
|
|
closeText: 'close',
|
|
|
|
disabled: false,
|
|
|
|
dialogClass: '',
|
|
|
|
draggable: true,
|
|
|
|
height: 'auto',
|
2009-02-09 11:15:23 +00:00
|
|
|
hide: null,
|
|
|
|
maxHeight: false,
|
|
|
|
maxWidth: false,
|
2009-02-04 04:35:18 +00:00
|
|
|
minHeight: 150,
|
|
|
|
minWidth: 150,
|
|
|
|
modal: false,
|
2010-07-14 20:38:16 +00:00
|
|
|
position: {
|
|
|
|
my: 'center',
|
|
|
|
at: 'center',
|
|
|
|
collision: 'fit',
|
2010-07-15 07:31:36 +00:00
|
|
|
using: $.ui.dialog.prototype.options.position.using
|
2010-07-14 20:38:16 +00:00
|
|
|
},
|
2009-02-04 04:35:18 +00:00
|
|
|
resizable: true,
|
2009-02-09 11:15:23 +00:00
|
|
|
show: null,
|
2009-02-04 04:35:18 +00:00
|
|
|
stack: true,
|
|
|
|
title: '',
|
|
|
|
width: 300,
|
|
|
|
zIndex: 1000
|
2009-02-02 14:36:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
commonWidgetTests('dialog', { defaults: dialog_defaults });
|