[Koha-patches] [3.2 09/13] [MT2766] Fixed a bug about hidden checkboxes in claims

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Wed Mar 24 09:24:26 CET 2010


From: Jean-André Santoni <jeanandre.santoni at biblibre.com>

---
 .../prog/en/modules/serials/claims.tmpl            |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl
index a1b873a..7326d4f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tmpl
@@ -25,11 +25,9 @@
 
 	    $("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() {
-- 
1.6.3.3




More information about the Koha-patches mailing list