aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/sortable
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-21 14:49:49 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-21 14:49:49 -0400
commit51863d5a71f50c86b1757a1a0840d7571f6a0ef7 (patch)
treea1208f3bb9340e8e571edeb4edd0e7aad7bc668c /tests/unit/sortable
parentb4ca9289cf018c744ec57e8356783a76ff3691e0 (diff)
downloadjquery-ui-51863d5a71f50c86b1757a1a0840d7571f6a0ef7.tar.gz
jquery-ui-51863d5a71f50c86b1757a1a0840d7571f6a0ef7.zip
Don't use :input selector.
Diffstat (limited to 'tests/unit/sortable')
-rw-r--r--tests/unit/sortable/sortable_common.js2
-rw-r--r--tests/unit/sortable/sortable_options.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/sortable/sortable_common.js b/tests/unit/sortable/sortable_common.js
index b5fc05a5d..ae21f7dd2 100644
--- a/tests/unit/sortable/sortable_common.js
+++ b/tests/unit/sortable/sortable_common.js
@@ -2,7 +2,7 @@ TestHelpers.commonWidgetTests( "sortable", {
defaults: {
appendTo: "parent",
axis: false,
- cancel: ":input,option",
+ cancel: "input,textarea,button,select,option",
connectWith: false,
containment: false,
cursor: "auto",
diff --git a/tests/unit/sortable/sortable_options.js b/tests/unit/sortable/sortable_options.js
index 507d5dcfa..a043e68fe 100644
--- a/tests/unit/sortable/sortable_options.js
+++ b/tests/unit/sortable/sortable_options.js
@@ -29,7 +29,7 @@ test("{ axis: ? }, unexpected", function() {
ok(false, "missing test - untested code is broken code.");
});
-test("{ cancel: ':input,button' }, default", function() {
+test("{ cancel: 'input,textarea,button,select,option' }, default", function() {
ok(false, "missing test - untested code is broken code.");
});