mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Updated budget view.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
/** global: spent, budgeted, available, currencySymbol */
|
||||
/** global: spent, budgeted, available, currencySymbol, budgetIndexURI */
|
||||
|
||||
function drawSpentBar() {
|
||||
"use strict";
|
||||
@@ -99,6 +99,15 @@ $(function () {
|
||||
*/
|
||||
$('input[type="number"]').on('input', updateBudgetedAmounts);
|
||||
|
||||
//
|
||||
$('.selectPeriod').change(function (e) {
|
||||
var sel = $(e.target).val();
|
||||
if (sel !== "x") {
|
||||
var newURI = budgetIndexURI.replace("REPLACE", sel);
|
||||
window.location.assign(newURI);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function updateIncome() {
|
||||
|
Reference in New Issue
Block a user