From ed982a6c24a35c1a0ef33336a40880ad722a5418 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Oct 2020 17:25:47 +0000 Subject: [PATCH] Bug 26768: Remove the use of jquery.checkboxes plugin from library transfer limits page This patch modifies the library transfer limits page to eliminate the use of the jquery.checkboxes plugin. To test, apply the patch and go to Administration -> Library transfer limits. - Test the "For all collection codes" links, "Select all" and "Clear all." Each should affect all checkboxes on all tabs. - Click various tabs and confirm that the "select all" and "clear all" links within that tab work correctly, affecting only the checkboxes in that tab. Signed-off-by: Lisette Scheer --- .../en/modules/admin/branch_transfer_limits.tt | 46 ++++++++++++++-------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt index 9dd039171b..2647ee28f8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt @@ -41,7 +41,8 @@ [% FOREACH codes_loo IN codes_loop %]

Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]

-

Select all | Clear all

+ +

Select all | Clear all

@@ -57,9 +58,9 @@ @@ -91,11 +92,21 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] - [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
[% IF ( to_branch_loo.isChecked ) %] - + [% ELSE %] - + [% END %]