Hold placement should allow you to go back to the previous valid barcode.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
}
if(barcode == undefined || barcode == '') {
document.getElementById('patron_name').innerHTML = '';
+ cur_hold_barcode = null;
return;
}
if(barcode == cur_hold_barcode)
var load_info = xulG.get_barcode_and_settings(window, barcode, only_settings);
if(load_info == false || load_info == undefined) {
document.getElementById('patron_name').innerHTML = '';
+ cur_hold_barcode = null;
return;
}
cur_hold_barcode = load_info.barcode;