diff options
Diffstat (limited to 'src/main/webapp/jquery-ui-1.9pre/tests/unit/dialog/dialog_defaults.js')
-rw-r--r-- | src/main/webapp/jquery-ui-1.9pre/tests/unit/dialog/dialog_defaults.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/webapp/jquery-ui-1.9pre/tests/unit/dialog/dialog_defaults.js b/src/main/webapp/jquery-ui-1.9pre/tests/unit/dialog/dialog_defaults.js new file mode 100644 index 0000000..9f2e4c6 --- /dev/null +++ b/src/main/webapp/jquery-ui-1.9pre/tests/unit/dialog/dialog_defaults.js @@ -0,0 +1,34 @@ +commonWidgetTests( "dialog", { + defaults: { + autoOpen: true, + buttons: {}, + closeOnEscape: true, + closeText: 'close', + disabled: false, + dialogClass: '', + draggable: true, + height: 'auto', + hide: null, + maxHeight: false, + maxWidth: false, + minHeight: 150, + minWidth: 150, + modal: false, + position: { + my: 'center', + at: 'center', + of: window, + collision: 'fit', + using: $.ui.dialog.prototype.options.position.using + }, + resizable: true, + show: null, + stack: true, + title: '', + width: 300, + zIndex: 1000, + + // callbacks + create: null + } +}); |