When initializing Sortable, I submitted only 'cancel' options and then bound the update event.
- $( "#sortable-group" ).sortable({
- cancel: ':input,button,.contenteditable',
- });
- $( "#sortable-group" ).bind( "sortupdate", function(event, ui) {...});
At one stage in my js code I needed to trigger the update process manually, using
- $( #sortable-group" ).trigger( "sortupdate"; );
During this trigger, the 'ui' object is not passed to the function. The 'event' object is there, but the 'ui' is missing.