https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24758

--- Comment #1 from Fridolin SOMERS <[email protected]> ---
Created attachment 99755
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99755&action=edit
Screenshot

I've managed to add this behavior with JS customisation.

===

$(document).ready(function() {
  if ($('#pat_memberentrygen').size()) {
    // Prepare
    $("fieldset").children("legend")
    .addClass("bl-autorepli")
    .append(' <i class="fa fa-caret-down"><i class="fa fa-caret-right"
style="display:none">');
    // Onclick
    $("fieldset legend.bl-autorepli").on("click", function() {
      $(this).siblings("ol,table").toggle();
      $(this).children("i.fa").toggle();
    });
    // Hide by default
    $("fieldset#memberentry_address,
fieldset#memberentry_altaddress").children("legend.bl-autorepli").click();
  }
});

===

Needs rework.

Feel free to propose a patch.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to