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 <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2021-10-19 11:50:37 +02:00 committed by Kyle Hall
parent 2c76d01eca
commit b9d34c16e9

View file

@ -1584,6 +1584,7 @@ legend:hover {
$("legend").click(function(){
$(this).nextAll().toggle();
$("#messaging_prefs_loading").hide();
$("#guarantor_template").hide();
});
$("#saverecord").css({ 'margin-left': 0 });