mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 10:22:09 +00:00
Add JSON.stringify
This commit is contained in:
2
public/v1/js/ff/accounts/index.js
vendored
2
public/v1/js/ff/accounts/index.js
vendored
@@ -88,7 +88,7 @@ function stopSorting() {
|
|||||||
//$.post('api/v1/accounts/' + id, {order: newOrder, _token: token});
|
//$.post('api/v1/accounts/' + id, {order: newOrder, _token: token});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'api/v1/accounts/' + id,
|
url: 'api/v1/accounts/' + id,
|
||||||
data: {order: newOrder},
|
data: JSON.stringify({order: newOrder}),
|
||||||
type: 'PUT',
|
type: 'PUT',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user