@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -397,16 +397,15 @@ return false; }); - var checkboxes = $("#inventoryt input:checkbox"); $(".checkall").click(function(e){ e.preventDefault(); - checkboxes.each(function(){ + $("#inventoryt input:checkbox").each(function(){ $(this).prop("checked", true); }); }); $(".clearall").click(function(e){ e.preventDefault(); - checkboxes.each(function(){ + $("#inventoryt input:checkbox").each(function(){ $(this).prop("checked", false); }); }); --