From b9d34c16e9b0ac83e055356c3680d87724528b57 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Oct 2021 11:50:37 +0200 Subject: [PATCH] Bug 29215: (bug 3137 follow-up) Fix guarantor block toggle The guarantor template must be kept hidden, always. Test plan: Edit a patron with a guarantor, click the legend of the "patron guarantor" block and confirm that the template is not shown Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 164e365b1e..a99cdfb841 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1584,6 +1584,7 @@ legend:hover { $("legend").click(function(){ $(this).nextAll().toggle(); $("#messaging_prefs_loading").hide(); + $("#guarantor_template").hide(); }); $("#saverecord").css({ 'margin-left': 0 }); -- 2.39.2