]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable: Added defaults for cursor, cursorAt, opacity.
authorScott González <scott.gonzalez@gmail.com>
Sun, 1 Feb 2009 01:02:34 +0000 (01:02 +0000)
committerScott González <scott.gonzalez@gmail.com>
Sun, 1 Feb 2009 01:02:34 +0000 (01:02 +0000)
tests/unit/sortable/sortable.js
ui/ui.sortable.js

index 57b824073edb17934c068021439cc662ded7777f..e269542c63e8854706318ce4309086356860b7f2 100644 (file)
@@ -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,
index 4fc1547193212a76e0bc8328628ae23c281fc60f..9bf6a4347d05dbf15b46f6f3d1624874143da636 100644 (file)
@@ -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,