Fixed a bug about hidden checkboxes in claims

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
This commit is contained in:
Jean-André Santoni 2010-02-22 12:56:37 +01:00 committed by Colin Campbell
parent 159c586b3c
commit b833e0a70d

View file

@ -27,11 +27,9 @@
$("span.checkall").html("<input type=\"checkbox\" name=\"CheckAll\"> "+_("Check All")+"</input>");
$("span.exportSelected").html("<a id=\"ExportSelected\" href=\"/cgi-bin/koha/serials/claims.pl\"> "+_("Export selected items data") +"<\/a>");
$("#CheckAll").click(function(){
$("#claimst :checkbox").attr('checked', $("#CheckAll").is(':checked'));
});
$("#CheckAll").click(function() {
$("#claimst tr:visible :checkbox").attr('checked', $("#CheckAll").is(':checked'));
});
// Generates a dynamic link for exporting the selection's data as CSV
$("#ExportSelected").click(function() {