From a80d6cd42c668b45a5da3702883bde22d2bacb3c 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 Signed-off-by: Kyle M Hall --- 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.24.1 (Apple Git-126)