Consumptions didn't get removed properly

This commit is contained in:
Yohann D'ANELLO 2020-08-15 19:33:30 +02:00
parent 0bf5067b60
commit 482a04d37c
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ $(document).ready(function() {
$("#conso_button_" + button.id).click(function() {
if (LOCK)
return;
removeNote(button, "conso_button", buttons,"consos_list");
removeNote(button, "conso_button", buttons,"consos_list")();
});
});
}
@ -61,7 +61,7 @@ $(document).ready(function() {
$("#conso_button_" + button.id).click(function() {
if (LOCK)
return;
removeNote(button, "conso_button", buttons,"note_list");
removeNote(button, "conso_button", buttons,"note_list")();
});
});
}
@ -139,7 +139,7 @@ function addConso(dest, amount, type, category_id, category_name, template_id, t
$("#conso_button_" + button.id).click(function() {
if (LOCK)
return;
removeNote(button, "conso_button", buttons, list);
removeNote(button, "conso_button", buttons, list)();
});
});
}