Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (106 - 108 of 7259)

Ticket Resolution Summary Owner Reporter
#8409 fixed .sortable problem with jQuery 1.8beta 1 FlashJunior
Description

you get an error:

cur is null

} while ( cur.nodeType !== 1 );

jquery-git.js (Zeile 5447)

#15000 notabug .sortable( "refresh" ) does not set .ui-sortable for new element Eugen Konkov
Description

https://jsfiddle.net/KES777/zwo62726/1/

Also last added element work fine without 'refresh'.

That amazing, but is not documented and not expected.

#5229 worksforme .sortable( 'cancel' ) cancels whole item drag Chealer
Description

.sortable( 'cancel' ) is supposed to behave like this:


Signature:

.sortable( 'cancel' )

Cancels a change in the current sortable and reverts it back to how it was before the current sort started. Useful in the stop and receive callback functions.

If the sortable item is not being moved from one connected sortable to another:

$(this).sortable('cancel');

will cancel the change.

If the sortable item is being moved from one connected sortable to another:

$(ui.sender).sortable('cancel');

will cancel the change. Useful in the 'receive' callback.


The first line works as expected, but the second doesn't. If two sortables A and B are connected and one wants to keep B's content constant, he could use cancel on B so that a drag between A and B would only affect A. But this doesn't work. If for example A's receive event handler has $(ui.sender).sortable('cancel'); and an item is dragged from B to A, both A and B are unchanged. The item is not added to A.

Note: See TracQuery for help on using queries.