diff options
author | Richard Worth <rdworth@gmail.com> | 2009-02-03 01:20:55 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-02-03 01:20:55 +0000 |
commit | d5f41446ddc4c9c44e0599ff5bde406b6fc0182c (patch) | |
tree | 23b35df5a1105b2b4e3a4192b72d2c4810934abf | |
parent | 66976a932693bf9903fcdd28dd05838a84571c71 (diff) | |
download | jquery-ui-d5f41446ddc4c9c44e0599ff5bde406b6fc0182c.tar.gz jquery-ui-d5f41446ddc4c9c44e0599ff5bde406b6fc0182c.zip |
sortable defaults
-rw-r--r-- | tests/unit/sortable/sortable_defaults.js | 9 | ||||
-rw-r--r-- | ui/ui.sortable.js | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/unit/sortable/sortable_defaults.js b/tests/unit/sortable/sortable_defaults.js index ed0097fdd..2e7fc528b 100644 --- a/tests/unit/sortable/sortable_defaults.js +++ b/tests/unit/sortable/sortable_defaults.js @@ -3,11 +3,14 @@ */ var sortable_defaults = { + accurateIntersection: true, appendTo: "parent", + axis: false, cancel: ":input,option", connectWith: false, + containment: false, cssNamespace: "ui", - cursor: 'default', + cursor: 'auto', cursorAt: false, delay: 0, disabled: false, @@ -15,15 +18,17 @@ var sortable_defaults = { dropOnEmpty: true, forcePlaceholderSize: false, forceHelperSize: false, + grid: false, handle: false, helper: "original", items: "> *", opacity: false, placeholder: false, - scope: "default", + revert: false, scroll: true, scrollSensitivity: 20, scrollSpeed: 20, + scope: "default", sortIndicator: "???", tolerance: "intersect", zIndex: 1000 diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js index 9bf6a4347..3a2dbc5ec 100644 --- a/ui/ui.sortable.js +++ b/ui/ui.sortable.js @@ -995,8 +995,10 @@ $.extend($.ui.sortable, { defaults: { accurateIntersection: true, appendTo: "parent", + axis: false, cancel: ":input,option", connectWith: false, + containment: false, cssNamespace: 'ui', cursor: 'default', cursorAt: false, @@ -1005,11 +1007,13 @@ $.extend($.ui.sortable, { dropOnEmpty: true, forcePlaceholderSize: false, forceHelperSize: false, + grid: false, handle: false, helper: "original", items: '> *', opacity: false, placeholder: false, + revert: false, scope: "default", scroll: true, scrollSensitivity: 20, |