This commit is contained in:
James Cole
2017-12-20 20:07:57 +01:00
parent 62a4af8607
commit 36c8275f5e
8 changed files with 9 additions and 8 deletions

View File

@@ -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;