diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 14:49:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 14:49:49 -0400 |
commit | 51863d5a71f50c86b1757a1a0840d7571f6a0ef7 (patch) | |
tree | a1208f3bb9340e8e571edeb4edd0e7aad7bc668c /tests/unit/draggable/draggable_options.js | |
parent | b4ca9289cf018c744ec57e8356783a76ff3691e0 (diff) | |
download | jquery-ui-51863d5a71f50c86b1757a1a0840d7571f6a0ef7.tar.gz jquery-ui-51863d5a71f50c86b1757a1a0840d7571f6a0ef7.zip |
Don't use :input selector.
Diffstat (limited to 'tests/unit/draggable/draggable_options.js')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 464e025dd..ea4611d69 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -106,15 +106,15 @@ test("{ axis: ? }, unexpected", function() { }); }); -test("{ cancel: ':input,option' }, default", function() { +test("{ cancel: 'input,textarea,button,select,option' }, default", function() { $('<div id="draggable-option-cancel-default"><input type="text"></div>').appendTo('#main'); - el = $("#draggable-option-cancel-default").draggable({ cancel: ":input,option" }); + el = $("#draggable-option-cancel-default").draggable({ cancel: "input,textarea,button,select,option" }); drag("#draggable-option-cancel-default", 50, 50); moved(50, 50); - el = $("#draggable-option-cancel-default").draggable({ cancel: ":input,option" }); - drag("#draggable-option-cancel-default :input", 50, 50); + el = $("#draggable-option-cancel-default").draggable({ cancel: "input,textarea,button,select,option" }); + drag("#draggable-option-cancel-default input", 50, 50); moved(0, 0); el.draggable("destroy"); |