From 4a0f630f7f8c7f3c402defa5837bc470510ebb07 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Nov 2013 17:55:57 +0100 Subject: [PATCH] Bug 11075: 'select all' for export no longer clears renew checkboxes If circulation exports are enabled (by turning on ExportWithCsvProfile), the table on the checkout page includes three columns of checkboxes -- 'renew', 'checkin', and 'export'. For each loan, the renew and checkout links should behave like radio buttons, but the state of the export checkbox is meant to be independent of the renew and checkin checkboxes. However, if the 'select all' link in the export column is clicked, active renew checkboxes are toggled off. The desired behavior is that clicking the select all link in the export column should only affect checkboxes in that column. This patch implements this behavior. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Passes all tests and QA script - one line JavaScript change. Works as described. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js b/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js index cc3ae288cd..fe307bf22f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/pages/circulation.js @@ -22,7 +22,6 @@ $(document).ready(function() { $("#CheckAllexports").on("click",function(){ allcheckboxes.checkCheckboxes(":input[name*=biblionumbers]"); - allcheckboxes.unCheckCheckboxes(":input[name*=items]"); return false; }); $("#CheckNoexports").on("click",function(){ -- 2.39.5