skip xulG.get_barcode if no barcode completion
authorJason Etheridge <jason@esilibrary.com>
Mon, 11 Mar 2013 19:27:30 +0000 (15:27 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 13 Mar 2013 19:27:30 +0000 (15:27 -0400)
commit78b93b1e79d4139b2aefd52ab827dc37ed3133e8
tree57cbe1ea8c0cc9c6a1e2efb07f00d8ea4889147a
parent2e1e118a0342df3145b33b5f77d4f702e7272a39
skip xulG.get_barcode if no barcode completion

For Check In and Check Out interfaces, skip the xulG.get_barcode call if there
are no active Barcode Completion entries (under Admin->Local Administration->
Barcode Completion) at the time of the staff client login sequence.

However, for Check Out, an exception is made if the "Load patron from Checkout"
library setting is in effect, since that functionality depends on
xulG.get_barcode.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
Open-ILS/xul/staff_client/chrome/content/main/constants.js
Open-ILS/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/checkout.js