diff --git a/bda/templates/bda/revente/manage.html b/bda/templates/bda/revente/manage.html index 4e69aef7..afd3a40f 100644 --- a/bda/templates/bda/revente/manage.html +++ b/bda/templates/bda/revente/manage.html @@ -109,9 +109,14 @@ $(function(){ $("table.stupidtable").stupidtable(); }); + $("tr").click(function() { $(this).find("input[type=checkbox]").click() - }) + }); + + $("input[type=checkbox]").click(function(e) { + e.stopPropagation(); + }); {% endblock %} diff --git a/bda/templates/bda/revente/subscribe.html b/bda/templates/bda/revente/subscribe.html index 5db11d78..fbea28b5 100644 --- a/bda/templates/bda/revente/subscribe.html +++ b/bda/templates/bda/revente/subscribe.html @@ -53,8 +53,13 @@ $(function(){ $("table.stupidtable").stupidtable(); }); + $("tr").click(function() { $(this).find("input[type=checkbox]").click() - }) + }); + + $("input[type=checkbox]").click(function(e) { + e.stopPropagation(); + }); {% endblock %} diff --git a/bda/templates/bda/revente/tirages.html b/bda/templates/bda/revente/tirages.html index 1d72e9b5..4e5c2cfd 100644 --- a/bda/templates/bda/revente/tirages.html +++ b/bda/templates/bda/revente/tirages.html @@ -86,9 +86,14 @@ $(function(){ $("table.stupidtable").stupidtable(); }); + $("tr").click(function() { $(this).find("input[type=checkbox]").click() - }) + }); + + $("input[type=checkbox]").click(function(e) { + e.stopPropagation(); + });