X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Flists%2Fmoderate.tpl;h=5607d4e5bf462c40df04facbd8ba28380ae84f8d;hb=12419b5b97c1bc6a4fd06818b2e66fbefe5e5d00;hp=85ba823aa153ff297e46b6c15e5b17a17f87b641;hpb=e46cf8c46341b447cc3701c8afcc9baec3da11e5;p=platal.git diff --git a/templates/lists/moderate.tpl b/templates/lists/moderate.tpl index 85ba823..5607d4e 100644 --- a/templates/lists/moderate.tpl +++ b/templates/lists/moderate.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -188,11 +188,11 @@ $('.checkboxToggle').click(function (event) if (event.target.tagName === 'INPUT') { return; } - + var checkbox = $(this).parent().find(':checkbox'); - + checkbox = checkbox.attr('checked', !checkbox.attr('checked')); - + event.stopPropagation(); }); {/literal}