r1970 - in trunk: tests/unit/sortable ui
Author: rdworth
Date: Mon Feb 2 17:20:55 2009
New Revision: 1970
Modified:
trunk/tests/unit/sortable/sortable_defaults.js
trunk/ui/ui.sortable.js
Log:
sortable defaults
Modified: trunk/tests/unit/sortable/sortable_defaults.js
==============================================================================
--- trunk/tests/unit/sortable/sortable_defaults.js (original)
+++ trunk/tests/unit/sortable/sortable_defaults.js Mon Feb 2 17:20:55 2009
@@ -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 @@
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
Modified: trunk/ui/ui.sortable.js
==============================================================================
--- trunk/ui/ui.sortable.js (original)
+++ trunk/ui/ui.sortable.js Mon Feb 2 17:20:55 2009
@@ -995,8 +995,10 @@
defaults: {
accurateIntersection: true,
appendTo: "parent",
+ axis: false,
cancel: ":input,option",
connectWith: false,
+ containment: false,
cssNamespace: 'ui',
cursor: 'default',
cursorAt: false,
@@ -1005,11 +1007,13 @@
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,