From ae2a28b7f1de3ecf9ebefb805e0802d3dbe6f28e Mon Sep 17 00:00:00 2001 From: Amy King Date: Thu, 21 Jan 2021 01:51:24 +0000 Subject: [PATCH] Bug 22150: ensuring superlibrarian flag not checked when select all Test plan: 1. Go to a patron account page 2. Click more, set permissions 3. If you select Superlibrarian, you can't unselect on box. 4. Apply first patch by Jasmine Amohia 5. Follow steps for that patch 6. Apply patch 7. Go through steps 1-4 from Jasmine Amohia, but now notice how when you click "Select all" the Superlibrarian checkbox is not checked Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt index 6325e69317..74e6895dbd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -114,6 +114,7 @@ $("#CheckAllFlags").on("click",function(){ $(".flag").attr("disabled", false); $(".flag").prop("checked", true); + $(".flag:first").prop("checked", false); return false; }); $("#UncheckAllFlags").on("click",function(){ -- 2.11.0