Commit fc5188bc authored by Floréal Cabanettes's avatar Floréal Cabanettes

Fix bug if multiple transactions added without logged out the app

parent 41dc2fc8
......@@ -263,6 +263,7 @@ trackmybank.del_transaction = function () {
trackmybank.cancel = function() {
$("#transactions .transaction").remove();
trackmybank.amounts = [];
trackmybank.add_transaction();
$("#del-subtr").hide();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment