]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1251424 - Fix for submit button when placing holds in staff client
authorSteven Callender <stevecallender@esilibrary.com>
Thu, 14 Nov 2013 20:42:12 +0000 (15:42 -0500)
committerBen Shum <bshum@biblio.org>
Thu, 14 Nov 2013 21:22:36 +0000 (16:22 -0500)
commitb7bc865f93274fef38a1b21d130f417d25edfb28
tree4e4ae4b2f620655293711134c613baa0a9284013
parenta4901ce9b4ef8e532e0fe4d733ef8b66b83f95fa
LP1251424 - Fix for submit button when placing holds in staff client

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 something. This causes it to be set on the initial
loading of the screen.

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