Skip to content

Commit

Permalink
Sortable: Added defaults for cursor, cursorAt, opacity.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Feb 1, 2009
1 parent 39f80eb commit b642b98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/sortable/sortable.js
Expand Up @@ -9,12 +9,15 @@
var defaults = {
appendTo: "parent",
cancel: ":input,option",
cursor: 'default',
cursorAt: false,
delay: 0,
disabled: false,
distance: 1,
dropOnEmpty: true,
helper: "original",
items: "> *",
opacity: false,
scroll: true,
scrollSensitivity: 20,
scrollSpeed: 20,
Expand Down
3 changes: 3 additions & 0 deletions ui/ui.sortable.js
Expand Up @@ -998,6 +998,8 @@ $.extend($.ui.sortable, {
cancel: ":input,option",
connectWith: false,
cssNamespace: 'ui',
cursor: 'default',
cursorAt: false,
delay: 0,
distance: 1,
dropOnEmpty: true,
Expand All @@ -1006,6 +1008,7 @@ $.extend($.ui.sortable, {
handle: false,
helper: "original",
items: '> *',
opacity: false,
placeholder: false,
scope: "default",
scroll: true,
Expand Down

0 comments on commit b642b98

Please sign in to comment.