I call sortable.stop() to make an ajax call to store some data after drag & drop operation.
sortable.stop()
When the ajax call returns an error (application logic e
Have a look at .sortable('cancel'); something like this:
var list = $('#some-list') list.sortable( { // Some options. stop: function() { $.post('some-url', someData, function() { if (somethingWentWrong) { list.sortable('cancel'); } }); } });