checkin
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 05:47:44 +0000 (05:47 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 05:47:44 +0000 (05:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2396 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/util.js

index cdac338..713569b 100644 (file)
@@ -85,10 +85,9 @@ circ.checkin.prototype = {
                var obj = this;
                try {
                        var barcode = obj.controller.view.checkin_barcode_entry_textbox.value;
-                       var checkin = obj.network.request(
-                               api.checkin_via_barcode.app,
-                               api.checkin_via_barcode.method,
-                               [ obj.session, barcode, obj.patron_id ]
+                       JSAN.use('circ.util');
+                       var checkin = circ.util.checkin_via_barcode(
+                               obj.session, barcode, obj.patron_id 
                        );
                        obj.list.append(
                                {
index e74be0b..23d7ece 100644 (file)
@@ -4,7 +4,7 @@ if (typeof circ == 'undefined') var circ = {};
 circ.util = {};
 
 circ.util.EXPORT_OK    = [ 
-       'columns'
+       'columns', 'checkin_via_barcode', 'std_map_row_to_column', 'hold_capture_by_copy_barcode'
 ];
 circ.util.EXPORT_TAGS  = { ':all' : circ.util.EXPORT_OK };