diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 13:12:36 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-02 13:12:36 +0200 |
commit | d8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e (patch) | |
tree | 5bb960da36a12d73cbdfb21ec6d3dd51a6b65ab5 /tests/unit/dialog/dialog_defaults.js | |
parent | a03c222f05aa2364189d264377e0a19da4d4c9ad (diff) | |
parent | 0c674ca7e35b84bc2c34ce47acd83dc7441bea35 (diff) | |
download | jquery-ui-d8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e.tar.gz jquery-ui-d8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e.zip |
Merge branch 'master' into tooltip-animations
Diffstat (limited to 'tests/unit/dialog/dialog_defaults.js')
-rw-r--r-- | tests/unit/dialog/dialog_defaults.js | 67 |
1 files changed, 33 insertions, 34 deletions
diff --git a/tests/unit/dialog/dialog_defaults.js b/tests/unit/dialog/dialog_defaults.js index 612fd58c8..9f2e4c6a8 100644 --- a/tests/unit/dialog/dialog_defaults.js +++ b/tests/unit/dialog/dialog_defaults.js @@ -1,35 +1,34 @@ -/* - * dialog_defaults.js - */ +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, -var 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 -}; - -commonWidgetTests('dialog', { defaults: dialog_defaults }); + // callbacks + create: null + } +}); |