Open
Description
Problem:
Is it possible to fire the event only if something has really changed? Currently my Ajax call is always called, even if you move the elements only a few millimeters. But without really changing anything.
Thanks!
store: {
set: function (sortable) {
let order = sortable.toArray();
console.log(order);
$.ajax({
url: url,
type: 'POST',
data: {order: order},
...
})
}
}