Respect the base href in ajax calls.

This commit is contained in:
zjean
2016-02-11 19:57:26 +01:00
parent 5c03e64f46
commit 74c94a60a6
2 changed files with 2 additions and 2 deletions

View File

@@ -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');
});
}