https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28407 Bug ID: 28407 Summary: CollapseFieldsPatronAddForm creates problems with hidden elements in Patron restrictions Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com If you use CollapseFieldsPatronAddForm to collapse Patron restrictions, it will cause hidden elements within to be out of sync. I've used the following to compensate for this flaw: //Fix expanded restriction form with nested collapsed section $('#pat_memberentrygen #memberentry_restrictions').wrapInner('<div id="restrictionContainer" style="display:none;"></div>'); $('#pat_memberentrygen #restrictionContainer').children().show(); $('#pat_memberentrygen #manual_restriction_form').children().show(); $('#pat_memberentrygen #memberentry_restrictions').prepend($('#restrictions_lgd')); $('#pat_memberentrygen #manual_restriction_form').hide(); -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.