aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-02-01 01:02:34 +0000
committerScott González <scott.gonzalez@gmail.com>2009-02-01 01:02:34 +0000
commitb642b98619f6c8dcc65e9d0d4fcb075fa46f5d99 (patch)
tree2c41ef49b1fc6cc3e37b799d53b12b7f5e049a13
parent39f80ebc6664dec2b2b1728df08383af70594a68 (diff)
downloadjquery-ui-b642b98619f6c8dcc65e9d0d4fcb075fa46f5d99.tar.gz
jquery-ui-b642b98619f6c8dcc65e9d0d4fcb075fa46f5d99.zip
Sortable: Added defaults for cursor, cursorAt, opacity.
-rw-r--r--tests/unit/sortable/sortable.js3
-rw-r--r--ui/ui.sortable.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/sortable/sortable.js b/tests/unit/sortable/sortable.js
index 57b824073..e269542c6 100644
--- a/tests/unit/sortable/sortable.js
+++ b/tests/unit/sortable/sortable.js
@@ -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,
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index 4fc154719..9bf6a4347 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -998,6 +998,8 @@ $.extend($.ui.sortable, {
cancel: ":input,option",
connectWith: false,
cssNamespace: 'ui',
+ cursor: 'default',
+ cursorAt: false,
delay: 0,
distance: 1,
dropOnEmpty: true,
@@ -1006,6 +1008,7 @@ $.extend($.ui.sortable, {
handle: false,
helper: "original",
items: '> *',
+ opacity: false,
placeholder: false,
scope: "default",
scroll: true,