1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

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

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)();
});
});
}