From: Scott González Date: Sun, 1 Feb 2009 01:02:34 +0000 (+0000) Subject: Sortable: Added defaults for cursor, cursorAt, opacity. X-Git-Tag: 1.6~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b642b98619f6c8dcc65e9d0d4fcb075fa46f5d99;p=jquery-ui.git Sortable: Added defaults for cursor, cursorAt, opacity. --- 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,