Skip to content
Permalink
Browse files

sortable defaults

  • Loading branch information
rdworth committed Feb 3, 2009
1 parent 66976a9 commit d5f41446ddc4c9c44e0599ff5bde406b6fc0182c
Showing with 11 additions and 2 deletions.
  1. +7 −2 tests/unit/sortable/sortable_defaults.js
  2. +4 −0 ui/ui.sortable.js
@@ -3,27 +3,32 @@
*/

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,
distance: 1,
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
@@ -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,

0 comments on commit d5f4144

Please sign in to comment.
You can’t perform that action at this time.