]> source.dussan.org Git - jquery-ui.git/commitdiff
resizable, selectable, sortable: changed cancel default to ':input' instead of (redun...
authorRichard Worth <rdworth@gmail.com>
Thu, 26 Jun 2008 10:23:38 +0000 (10:23 +0000)
committerRichard Worth <rdworth@gmail.com>
Thu, 26 Jun 2008 10:23:38 +0000 (10:23 +0000)
tests/sortable.js
ui/ui.resizable.js
ui/ui.selectable.js
ui/ui.sortable.js

index a3000ff24582fee18999902c36a0029d2a654dd0..f3f88a88707ec96ac1f2dfe1e3fd4f9b19e17f91 100644 (file)
@@ -117,7 +117,7 @@ test("defaults", function() {
        equals(el.data("scroll.sortable"), true, "scroll");\r
        equals(el.data("scrollSensitivity.sortable"), 20, "scrollSensitivity");\r
        equals(el.data("scrollSpeed.sortable"), 20, "scrollSpeed");\r
-       equals(el.data("cancel.sortable"), ":input,button", "cancel");\r
+       equals(el.data("cancel.sortable"), ":input", "cancel");\r
        equals(el.data("items.sortable"), "> *", "items");\r
        equals(el.data("zIndex.sortable"), 1000, "zIndex");     \r
        equals(el.data("dropOnEmpty.sortable"), true, "dropOnEmpty");\r
index 5192129b4f9102491a79af7b9c6307611581f650..55a279b8ff994bd4fdd24e51ac5e9bbf9abfe339 100644 (file)
@@ -503,7 +503,7 @@ $.widget("ui.resizable", $.extend($.ui.mouse, {
 
 $.extend($.ui.resizable, {
        defaults: {
-               cancel: ":input,button",
+               cancel: ":input",
                distance: 1,
                delay: 0,
                preventDefault: true,
index 57ea405a8b3ba6aa3442e4d965ea6886ab84fb19..db69a488ad24b44e0b691e5f08bb3fea0ff03e9e 100644 (file)
@@ -253,7 +253,7 @@ $.extend($.ui.selectable, {
        defaults: {
                distance: 1,
                delay: 0,
-               cancel: ":input,button",
+               cancel: ":input",
                appendTo: 'body',
                autoRefresh: true,
                filter: '*',
index 0120a9b30aaba3d3ab741324e2b5fffaccfeab14..d172a51ddcbaeab4afef2738d3dcb09f41388d9e 100644 (file)
@@ -624,7 +624,7 @@ $.extend($.ui.sortable, {
                scroll: true,
                scrollSensitivity: 20,
                scrollSpeed: 20,
-               cancel: ":input,button",
+               cancel: ":input",
                items: '> *',
                zIndex: 1000,
                dropOnEmpty: true,