mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-19 16:10:00 +00:00
Error handling for https://github.com/firefly-iii/firefly-iii/issues/5575
This commit is contained in:
7
public/v1/js/ff/accounts/reconcile.js
vendored
7
public/v1/js/ff/accounts/reconcile.js
vendored
@@ -201,7 +201,12 @@ function getTransactionsForRange() {
|
||||
var index = indexUri.replace('%start%', $('input[name="start_date"]').val()).replace('%end%', $('input[name="end_date"]').val());
|
||||
window.history.pushState('object or string', "Reconcile account", index);
|
||||
|
||||
$.getJSON(uri).done(placeTransactions);
|
||||
$.getJSON(uri).done(placeTransactions).catch(exceptionHandling)
|
||||
}
|
||||
function exceptionHandling() {
|
||||
$('#transactions_holder').empty().append($('<p>').addClass('text-center lead').html(selectRangeAndBalance));
|
||||
$('.start_reconcile').show();
|
||||
$('.initial_instructions').show();
|
||||
}
|
||||
|
||||
// /**
|
||||
|
||||
Reference in New Issue
Block a user