Browse Source

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>
21.11.x
Jonathan Druart 3 years ago
parent
commit
b5da108e35
  1. 1
      koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

1
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 });

Loading…
Cancel
Save