mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
A giant rename action in preparation of v3.2.2
This commit is contained in:
@@ -3,20 +3,20 @@ $(function () {
|
||||
$('.removeMoney').on('click', removeMoney);
|
||||
|
||||
if (typeof(googleLineChart) == 'function' && typeof(piggyBankID) != 'undefined') {
|
||||
googleLineChart('chart/piggyhistory/' + piggyBankID, 'piggybank-history');
|
||||
googleLineChart('chart/piggy_history/' + piggyBankID, 'piggy-bank-history');
|
||||
}
|
||||
});
|
||||
|
||||
function addMoney(e) {
|
||||
var pigID = parseInt($(e.target).data('id'));
|
||||
$('#moneyManagementModal').empty().load('piggybanks/add/' + pigID).modal('show');
|
||||
$('#moneyManagementModal').empty().load('piggy_banks/add/' + pigID).modal('show');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function removeMoney(e) {
|
||||
var pigID = parseInt($(e.target).data('id'));
|
||||
$('#moneyManagementModal').empty().load('piggybanks/remove/' + pigID).modal('show');
|
||||
$('#moneyManagementModal').empty().load('piggy_banks/remove/' + pigID).modal('show');
|
||||
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user