From 04f5098d06921da5afe63141e9de367f0f41e606 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 10 Dec 2021 16:27:12 +0100 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/5335 --- frontend/src/components/transactions/Create.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/transactions/Create.vue b/frontend/src/components/transactions/Create.vue index 4f650dced0..faf69c6ece 100644 --- a/frontend/src/components/transactions/Create.vue +++ b/frontend/src/components/transactions/Create.vue @@ -23,7 +23,7 @@
- +
@@ -221,6 +221,7 @@ export default { ] ), addTransactionArray: function (event) { + console.log('Record call to addTransactionArray'); event.preventDefault(); this.addTransaction(); }, @@ -228,7 +229,9 @@ export default { * Removes a split from the array. */ removeTransaction: function (payload) { - // console.log('Triggered to remove transaction ' + payload.index); + console.log('Record call to removeTransaction'); + console.log('Triggered to remove transaction ' + payload.index); + window.$('#tab_split_' + (payload.index - 1)).click(); this.$store.commit('transactions/create/deleteTransaction', payload); }, submitData: function (url, data) {