aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/list_bills.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/list_bills.html')
-rw-r--r--budget/templates/list_bills.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html
index 1d8e922..2702d99 100644
--- a/budget/templates/list_bills.html
+++ b/budget/templates/list_bills.html
@@ -13,9 +13,13 @@
{% if add_bill %} $('#new-bill').click(); {% endif %}
- // ask for confirmation before removing an user
+ // Hide all members actions
$('.action').each(function(){
$(this).hide();
+ });
+
+ // ask for confirmation before removing an user
+ $('.action.delete').each(function(){
var link = $(this).find('button');
link.click(function(){
if ($(this).hasClass("confirm")){