1 dojo.requireLocalization("openils.booking", "pickup_and_return");
2 var localeStrings = dojo.i18n.getLocalization(
3 "openils.booking", "pickup_and_return"
7 function react_to_pass_in(opts) {
8 if (opts && opts.patron_barcode) {
9 p.populate({"patron": opts.patron_barcode});
12 document.getElementById("contains_barcode_control")
15 document.getElementById("barcode").value = opts.patron_barcode;
16 var barcode_type = document.getElementById("barcode_type");
17 for (var i in barcode_type.options) {
18 if (barcode_type.options[i].value == "patron") {
19 barcode_type.selectedIndex = i;
24 p._extra_resetting = function() {
26 document.getElementById("contains_barcode_control")
36 "patron": document.getElementById("patron_info")
37 }, document.getElementById("barcode"));
38 init_auto_l10n(document.getElementById("auto_l10n_start_here"));
40 react_to_pass_in(xulG.bresv_interface_opts);