mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix wrong reconciliation difference with "select all" button
This commit is contained in:
parent
d3cd657501
commit
7105d34fb3
4
public/v1/js/ff/accounts/reconcile.js
vendored
4
public/v1/js/ff/accounts/reconcile.js
vendored
@ -90,6 +90,10 @@ function selectAllReconcile(e) {
|
||||
var identifier = 'checked_' + journalId;
|
||||
console.log('in selectAllReconcile(' + journalId + ') with amount ' + amount + ' and selected amount ' + selectedAmount);
|
||||
|
||||
// do nothing if line is already in target state
|
||||
if (check.prop('checked') === doCheck )
|
||||
return;
|
||||
|
||||
check.prop('checked', doCheck);
|
||||
// if checked, add to selected amount
|
||||
if (doCheck === true && check.data('younger') === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user