mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Fix #1061
This commit is contained in:
2
public/js/ff/budgets/index.js
vendored
2
public/js/ff/budgets/index.js
vendored
@@ -120,7 +120,7 @@ function updateBudgetedAmounts(e) {
|
||||
// send a post to Firefly to update the amount:
|
||||
var newUri = budgetAmountUri.replace("REPLACE", id);
|
||||
|
||||
$.post(newUri, {amount: value, start: periodStart, end: periodEnd}).done(function (data) {
|
||||
$.post(newUri, {amount: value, start: periodStart, end: periodEnd, _token: token}).done(function (data) {
|
||||
|
||||
// difference between new value and original value
|
||||
var difference = value - original;
|
||||
|
||||
Reference in New Issue
Block a user