From b818258fdc92b7a1ed025545d18c6e96bac57166 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 --- 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