From b46a5d7e6cc798073751d39b730106229046f612 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 (cherry picked from commit b9d34c16e9b0ac83e055356c3680d87724528b57) Signed-off-by: Fridolin Somers --- .../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 cd3b9eabbe..613850f0c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1568,6 +1568,7 @@ legend:hover { $("legend").click(function(){ $(this).nextAll().toggle(); $("#messaging_prefs_loading").hide(); + $("#guarantor_template").hide(); }); $("#saverecord").css({ 'margin-left': 0 }); -- 2.39.5