[Koha-bugs] [Bug 8014] On the patron entry form hide "restricted until" field if "Restricted: No" is checked
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun May 13 13:45:05 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8014
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9312|0 |1
is obsolete| |
--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 9534
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9534&action=edit
Bug 8014 - On the patron entry form hide "restricted until" field if
"Restricted: No" is checked
This patch adds JavaScript to automatically hide the "Restricted
unil" form field on the patron entry form if "Restricted: No" is
selected. If "Restricted: Yes" is chosen the "Until:" field
is shown and focus is given to it.
The patch also adds a note, "(optional)" after the "Until:" field
to make it clearer that a date is not required.
To test, open a patron record and try moving the selection
between "Restricted: No" and "Restricted: Yes." Confirm that
the "Until:" field is shown and hidden as expected. Confirm
that the restricted flag is correctly set or unset upon save,
including setting the flag with or without a date.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list