Consumptions didn't get removed properly
This commit is contained in:
parent
0bf5067b60
commit
482a04d37c
1 changed files with 3 additions and 3 deletions
|
|
@ -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)();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue