removed a whole passel of files that do not need to be tracked in the repository
[kcls-web.git] / js / ui / default / booking / return.js
diff --git a/js/ui/default/booking/return.js b/js/ui/default/booking/return.js
deleted file mode 100644 (file)
index 64c9cf8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-dojo.requireLocalization("openils.booking", "pickup_and_return");
-var localeStrings = dojo.i18n.getLocalization(
-    "openils.booking", "pickup_and_return"
-);
-var p;
-
-function react_to_pass_in(opts) {
-    if (opts && opts.patron_barcode) {
-        p.populate({"patron": opts.patron_barcode});
-
-        hide_dom_element(
-            document.getElementById("contains_barcode_control")
-        );
-
-        document.getElementById("barcode").value = opts.patron_barcode;
-        var barcode_type = document.getElementById("barcode_type");
-        for (var i in barcode_type.options) {
-            if (barcode_type.options[i].value == "patron") {
-                barcode_type.selectedIndex = i;
-                break;
-            }
-        }
-
-        p._extra_resetting = function() {
-            reveal_dom_element(
-                document.getElementById("contains_barcode_control")
-            );
-        };
-    }
-}
-
-function my_init() {
-    p = new Populator({
-        "out": out_bresv,
-        "in": in_bresv,
-        "patron": document.getElementById("patron_info")
-    }, document.getElementById("barcode"));
-    init_auto_l10n(document.getElementById("auto_l10n_start_here"));
-
-    react_to_pass_in(xulG.bresv_interface_opts);
-}