From b03d984a026354455fc6c4743e893d83d8f7ea44 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 --- .../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 451ffaeee5..57bd3ce0ee 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.20.1