From 44fa29014774b49f73c3c27fe4043df437b0b8d8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 Jan 2021 14:19:54 +0100 Subject: [PATCH] Bug 22150: (follow-up) ensuring superlibrarian flag not checked when select all Use #flag-0 to select the superlibrarian checkbox Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 74e6895dbd..c28655733e 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,7 +114,7 @@ $("#CheckAllFlags").on("click",function(){ $(".flag").attr("disabled", false); $(".flag").prop("checked", true); - $(".flag:first").prop("checked", false); + $("#flag-0").prop("checked", false); return false; }); $("#UncheckAllFlags").on("click",function(){ -- 2.39.5