]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1706148 - Hide "Hold is behind Circ Desk" checkbox in XUL patron registration.
authorJosh Stompro <stomproj@larl.org>
Mon, 24 Jul 2017 18:51:55 +0000 (13:51 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 31 Jul 2017 21:28:49 +0000 (17:28 -0400)
commit97dda314bee85b2d5cac153fd11523473c0f5115
tree552f37455bd01c51c091b5ca3b5c6c82dfe376a9
parenta54b18e01f98ac74dfa9ab9e886c344e045e92d7
LP#1706148 - Hide "Hold is behind Circ Desk" checkbox in XUL patron registration.

When the library setting for "Behind Desk Pickup Supported" is not enabled then
the checkbox for "Hold is behind Circ Desk" should be hidden.

Test Plan - before fix:
  1. Check to make sure that the "Behind Desk Pickup Supported" library setting is
     unset or false.
  2. Open the patron registration screen in the XUL staff client and see that the
     user settings checkbox for "Hold is behind Circ Desk" exists.

After Fix Applied:
  1. Check to make sure that the "Behind Desk Pickup Supported" library setting is
     unset or false.
  2. Open the patron registration screen in the XUL staff client and see that the
     user settings checkbox for "Hold is behind Circ Desk" no longer is shown.
  3. Change the library setting in question to True.
  4. Reload/reopen the patron registration screen and see that the checkbox now
     is visible.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/actor/user/register.js