OpenILS.data only needs session at startup
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Dec 2005 22:17:16 +0000 (22:17 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Dec 2005 22:17:16 +0000 (22:17 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2230 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkout.js
Open-ILS/xul/staff_client/server/patron/display.js

index 205fed3..fb22564 100644 (file)
@@ -17,7 +17,7 @@ circ.checkout.prototype = {
                obj.patron_id = params['patron_id'];
 
                JSAN.use('OpenILS.data'); obj.OpenILS = {}; 
-               obj.OpenILS.data = new OpenILS.data( { 'session' : params.session } ); obj.OpenILS.data.init(true);
+               obj.OpenILS.data = new OpenILS.data(); obj.OpenILS.data.init(true);
 
 
                JSAN.use('main.list'); obj.list = new main.list('checkout_list');
index eaa9b46..dc13eed 100644 (file)
@@ -19,7 +19,7 @@ patron.display.prototype = {
                obj.barcode = params['barcode'];
 
                JSAN.use('OpenILS.data'); this.OpenILS = {}; 
-               obj.OpenILS.data = new OpenILS.data( { 'session' : params.session } ); obj.OpenILS.data.init(true);
+               obj.OpenILS.data = new OpenILS.data(); obj.OpenILS.data.init(true);
 
                JSAN.use('util.deck');  obj.deck = new util.deck('patron_deck');