diff options
| author | Jocelyn Delande <jocelyn@crapouillou.net> | 2015-08-22 10:49:15 +0200 |
|---|---|---|
| committer | Jocelyn Delande <jocelyn@crapouillou.net> | 2016-06-15 10:20:37 +0200 |
| commit | 1147f2ece8eaa868f5f0b89da583d03560ec23ee (patch) | |
| tree | a3ebcef15591f2920d232f15bde0e7febaec35cd /budget/templates/list_bills.html | |
| parent | 85abc0b1fcbee6549425fad87b3cdd55669672d2 (diff) | |
| download | ihatemoney-mirror-1147f2ece8eaa868f5f0b89da583d03560ec23ee.zip ihatemoney-mirror-1147f2ece8eaa868f5f0b89da583d03560ec23ee.tar.gz ihatemoney-mirror-1147f2ece8eaa868f5f0b89da583d03560ec23ee.tar.bz2 | |
Ask for confirmation only for deleting users
Diffstat (limited to 'budget/templates/list_bills.html')
| -rw-r--r-- | budget/templates/list_bills.html | 6 |
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")){ |
