From 1e251506b17599e1f4ba74606e58fff322b5942b Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 6 Sep 2006 06:54:33 +0000 Subject: [PATCH] I had the object vs id handling commented out git-svn-id: svn://svn.open-ils.org/ILS/trunk@5991 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bills.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bills.js b/Open-ILS/xul/staff_client/server/patron/bills.js index d19c0da45f..50e9c3309a 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.js +++ b/Open-ILS/xul/staff_client/server/patron/bills.js @@ -36,19 +36,15 @@ patron.bills.prototype = { //alert('obj.bills = ' + js2JSON(obj.bills)); for (var i = 0; i < obj.bills.length; i++) { - /* if (instanceOf(obj.bills[i],mobts)) { obj.bills[i] = { 'transaction' : obj.bills[i] } } else if (instanceOf(obj.bills[i],mbts)) { obj.bills[i] = { 'transaction' : obj.bills[i] } } else { - */ var robj = obj.network.simple_request('FM_MBTS_RETRIEVE',[ses(),obj.bills[i]]); //alert('refresh robj = ' + js2JSON(robj)); obj.bills[i] = { 'transaction' : robj } - /* } - */ } if (!dont_show_me_the_money) { @@ -643,17 +639,15 @@ patron.bills.prototype = { [ ses(), obj.patron_id ] ); for (var i = 0; i < obj.bills.length; i++) { - /* if (instanceOf(obj.bills[i],mobts)) { obj.bills[i] = { 'transaction' : obj.bills[i] } + } else if (instanceOf(obj.bills[i],mbts)) { + obj.bills[i] = { 'transaction' : obj.bills[i] } } else { - */ var robj = obj.network.simple_request('FM_MBTS_RETRIEVE',[ses(),obj.bills[i]]); //alert('robj = ' + js2JSON(robj)); obj.bills[i] = { 'transaction' : robj } - /* } - */ } } } catch(E) { -- 2.43.2