]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Small change to the code for placing holds. collab/Callender/place_hold_adjustment_staff
authorSteven Callender <stevecallender@esilibrary.com>
Thu, 14 Nov 2013 20:42:12 +0000 (15:42 -0500)
committerSteven Callender <stevecallender@esilibrary.com>
Thu, 14 Nov 2013 20:42:12 +0000 (15:42 -0500)
commit2de8747fc4fb0cb619667db6723338611e5dfd9b
tree94d0d2624ef35fb478d7e195bca54356827124ea
parent4da378fda14446fa279f693d758eef7e5597b1e2
Small change to the code for placing holds.

I've moved the initializing of the cur_hold_barcode variable
to within the function rather than floating outside of it.
This seemed to fix an intermittent issue where the submit
button would not become activatable when first going to the
place hold screen via the staff client. To create the hold,
ths user had to cycle through the "Place hold by patron barcode"
option and then back to "Place hold for me" option.

It looked like behind the scenes for certain org units that
variable would not be set and the button will not open until
it at least has somethig. This causes it to be set on the inital
loading of the screen.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Open-ILS/web/js/ui/default/opac/staff.js