sortable defaults

This commit is contained in:
Richard Worth 2009-02-03 01:20:55 +00:00
parent 66976a9326
commit d5f41446dd
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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,