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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
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/