diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2014-08-25 10:28:39 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2014-08-26 09:52:00 -0400 |
commit | 52a1de5caadd9dd0665d4bf092f6061d9d3a3a8e (patch) | |
tree | 8a4f7928a5f3a814892bd4780c873bcdb742b1bc /tests | |
parent | aada9d5ae7bfac64ff013931e26a73fd0284c921 (diff) | |
download | jquery-ui-52a1de5caadd9dd0665d4bf092f6061d9d3a3a8e.tar.gz jquery-ui-52a1de5caadd9dd0665d4bf092f6061d9d3a3a8e.zip |
Sortable: cancelHelperRemoval only considers helper, not placeholder
Refs #9675
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 46b80608c..6c4a59396 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -305,7 +305,7 @@ test( "connectToSortable, dragging clone into sortable", function() { sortable = $( "#sortable" ).sortable(), offsetSortable = sortable.offset(); - $( sortable ).one( "sortbeforestop", function( event, ui ) { + $( sortable ).one( "sort", function( event, ui ) { // http://bugs.jqueryui.com/ticket/8809 // Position issue when connected to sortable deepEqual( ui.helper.offset(), offsetSortable, "sortable offset is correct" ); |