Fixed a bug about hidden checkboxes in claims
Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
This commit is contained in:
parent
159c586b3c
commit
b833e0a70d
1 changed files with 3 additions and 5 deletions
|
@ -27,12 +27,10 @@
|
|||
$("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() {
|
||||
// We use input:checked because it's faster, but if there must new checkboxes
|
||||
|
|
Loading…
Reference in a new issue