From b5da108e350455e24c49dfd5679cc6d2f105b5f6 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 --- .../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 204c59723e..58a24a0866 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1644,6 +1644,7 @@ legend:hover { $("legend").click(function(){ $(this).nextAll().toggle(); $("#messaging_prefs_loading").hide(); + $("#guarantor_template").hide(); }); $("#saverecord").css({ 'margin-left': 0 }); -- 2.39.5