diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-08 17:13:36 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-10-08 17:13:36 +0200 |
| commit | 5245a1a6c7f0175a198e67580d252ef218be405f (patch) | |
| tree | ceb73b869c078bd470b7a00a7672e240d50a5376 /budget/templates | |
| parent | 7d9fde0460b66850ef1d7bce22c09156216539cd (diff) | |
| download | ihatemoney-mirror-5245a1a6c7f0175a198e67580d252ef218be405f.zip ihatemoney-mirror-5245a1a6c7f0175a198e67580d252ef218be405f.tar.gz ihatemoney-mirror-5245a1a6c7f0175a198e67580d252ef218be405f.tar.bz2 | |
Do not prompt the user with a 'prompt()' in javascript when deleting members. Fix #29
Diffstat (limited to 'budget/templates')
| -rw-r--r-- | budget/templates/list_bills.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 63a8916..f37e1fe 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -24,7 +24,12 @@ $('a.remove').each(function(){ $(this).hide(); $(this).click(function(){ - return confirm("are you sure?"); + if ($(this).hasClass("confirm")){ + return true; + } + $(this).html("you sure?"); + $(this).addClass("confirm"); + return false; }); }); |
