mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replaced success() with done ()
This commit is contained in:
@@ -79,7 +79,7 @@ function stopSorting() {
|
||||
var id = holder.data('id');
|
||||
order.push(id);
|
||||
});
|
||||
$.post('/piggy-banks/sort', {_token: token, order: order}).success(function () {
|
||||
$.post('/piggy-banks/sort', {_token: token, order: order}).done(function () {
|
||||
$('.loadSpin').removeClass('fa fa-refresh fa-spin');
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user