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>
This commit is contained in:
Jonathan Druart 2021-10-19 11:50:37 +02:00
parent 47528bffe2
commit b5da108e35
1 changed files with 1 additions and 0 deletions

View File

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