[Koha-bugs] [Bug 28407] CollapseFieldsPatronAddForm creates problems with hidden elements in Patron restrictions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 24 17:06:05 CEST 2021


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

--- Comment #2 from Christopher Brannon <cbrannon at cdalibrary.org> ---
1. Set Patron restrictions as one of the collapsed fields in
CollapseFieldsPatronAddForm.
2. Edit a patron.
3. Patron restrictions is collapsed.  Click on it to open it.
4. See that the empty Add manual restriction legend shows below the link to Add
manual restriction.  This area should not show until the link is clicked.
5. Click the link.  The link disappears.
6. Click the legend.  The content appears.
7. Click cancel.  The legend and content disappear as expected.
8. Click the Patron restriction legend.  That section collapses, but the Add
manual restriction legend and contents show.

The Add manual restriction legend should not be showing, and should not be
acting like the other legends.  It should be hidden until the link is clicked,
and it should be hidden when cancel is clicked.  It should not be acting like
the parent, and as is, and depending on the state it is in (showing or hidden),
is out of sync with the parent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list