mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 11:08:28 +00:00
Clean up some code.
This commit is contained in:
4
public/v1/js/ff/budgets/index.js
vendored
4
public/v1/js/ff/budgets/index.js
vendored
@@ -103,7 +103,7 @@ function updateBudgetedAmount(e) {
|
||||
updateTotalBudgetedAmount(data.transaction_currency_id);
|
||||
|
||||
}).fail(function () {
|
||||
alert('I failed :(');
|
||||
console.error('I failed :(');
|
||||
});
|
||||
} else {
|
||||
$.post(updateBudgetLimitUri.replace('REPLACEME', budgetLimitId.toString()), {
|
||||
@@ -119,7 +119,7 @@ function updateBudgetedAmount(e) {
|
||||
// update budgeted amount
|
||||
|
||||
}).fail(function () {
|
||||
alert('I failed :(');
|
||||
console.error('I failed :(');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
2
public/v1/js/ff/firefly.js
vendored
2
public/v1/js/ff/firefly.js
vendored
@@ -70,7 +70,7 @@ $(function () {
|
||||
}).done(function () {
|
||||
window.location.reload(true);
|
||||
}).fail(function () {
|
||||
alert('Could not change date range');
|
||||
console.error('Could not change date range');
|
||||
});
|
||||
}
|
||||
);
|
||||
|
2
public/v1/js/ff/help.js
vendored
2
public/v1/js/ff/help.js
vendored
@@ -53,7 +53,7 @@ function enableGuidance(route, specialPage) {
|
||||
$.post('json/intro/enable/' + route + '/' + specialPage, {_token: token}).done(function (data) {
|
||||
alert(data.message);
|
||||
}).fail(function () {
|
||||
alert('Could not re-enable introduction.');
|
||||
console.error('Could not re-enable introduction.');
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user