]> source.dussan.org Git - jquery-ui.git/commitdiff
sortable defaults
authorRichard Worth <rdworth@gmail.com>
Tue, 3 Feb 2009 01:20:55 +0000 (01:20 +0000)
committerRichard Worth <rdworth@gmail.com>
Tue, 3 Feb 2009 01:20:55 +0000 (01:20 +0000)
tests/unit/sortable/sortable_defaults.js
ui/ui.sortable.js

index ed0097fdd4e838aa6bd8029933d3e34b0e7c1044..2e7fc528bfab49123659af464eaba851679c8c99 100644 (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
index 9bf6a4347d05dbf15b46f6f3d1624874143da636..3a2dbc5ece4c91c7810fa5f459b18e11a51323a5 100644 (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,