From c32d00918b0946ea1bb32f9f94333d3f82748e69 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 --- .../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 451ffaeee51..57bd3ce0eea 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.25.1