mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Merge pull request #178 from zjean/develop
Respect the base href in ajax calls.
This commit is contained in:
commit
cd14360d62
@ -79,7 +79,7 @@ function sortStop(event, ui) {
|
||||
});
|
||||
|
||||
// do extra animation when done?
|
||||
$.post('/transaction/reorder', {items: submit, date: thisDate, _token: token});
|
||||
$.post('transaction/reorder', {items: submit, date: thisDate, _token: token});
|
||||
|
||||
current.animate({backgroundColor: "#5cb85c"}, 200, function () {
|
||||
$(this).animate({backgroundColor: originalBG}, 200);
|
||||
|
@ -79,7 +79,7 @@ function stopSorting() {
|
||||
var id = holder.data('id');
|
||||
order.push(id);
|
||||
});
|
||||
$.post('/piggy-banks/sort', {_token: token, order: order}).done(function () {
|
||||
$.post('piggy-banks/sort', {_token: token, order: order}).done(function () {
|
||||
$('.loadSpin').removeClass('fa fa-refresh fa-spin');
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user