[open-ils-commits] r15786 - in trunk/Open-ILS/xul/staff_client/server: cat circ patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 11 05:02:23 EST 2010


Author: phasefx
Date: 2010-03-11 05:02:17 -0500 (Thu, 11 Mar 2010)
New Revision: 15786

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/util.js
   trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
   trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
   trunk/Open-ILS/xul/staff_client/server/patron/info_group.js
   trunk/Open-ILS/xul/staff_client/server/patron/summary.js
Log:
ilsevent, not ils_event

Modified: trunk/Open-ILS/xul/staff_client/server/cat/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/util.js	2010-03-11 09:53:32 UTC (rev 15785)
+++ trunk/Open-ILS/xul/staff_client/server/cat/util.js	2010-03-11 10:02:17 UTC (rev 15786)
@@ -211,7 +211,7 @@
             if (!doc_id) {
                 var barcode = selection_list[i].barcode;
                 doc_id = network.simple_request('FM_BRE_ID_VIA_BARCODE',[barcode]);
-                if (typeof doc_id.ils_event != 'undefined' || doc_id == -1) {
+                if (typeof doc_id.ilsevent != 'undefined' || doc_id == -1) {
                     alert($("catStrings").getFormattedString('staff.cat.util.show_in_opac.unknown_barcode', [barcode]));
                     continue;
                 }

Modified: trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js	2010-03-11 09:53:32 UTC (rev 15785)
+++ trunk/Open-ILS/xul/staff_client/server/circ/copy_status.js	2010-03-11 10:02:17 UTC (rev 15786)
@@ -705,7 +705,7 @@
                                     if (! seen[volume_id]) {
                                         seen[volume_id] = 1;
                                         var volume = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]);
-                                        if (volume && typeof volume.ils_event == 'undefined') {
+                                        if (volume && typeof volume.ilsevent == 'undefined') {
                                             volumes.push( volume );
                                         }
                                     }

Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill2.js	2010-03-11 09:53:32 UTC (rev 15785)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill2.js	2010-03-11 10:02:17 UTC (rev 15786)
@@ -760,7 +760,7 @@
                 JSAN.use('patron.util'); 
                 patron.util.retrieve_au_via_id(ses(),g.patron_id, function(req) {
                     var au_obj = req.getResultObject();
-                    if (typeof au_obj.ils_event == 'undefined') {
+                    if (typeof au_obj.ilsevent == 'undefined') {
                         g.patron = au_obj;
                         $('credit_forward').setAttribute('value',util.money.sanitize( g.patron.credit_forward_balance() ));
                     }

Modified: trunk/Open-ILS/xul/staff_client/server/patron/info_group.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/info_group.js	2010-03-11 09:53:32 UTC (rev 15785)
+++ trunk/Open-ILS/xul/staff_client/server/patron/info_group.js	2010-03-11 10:02:17 UTC (rev 15786)
@@ -34,7 +34,7 @@
     try {
         JSAN.use('util.money');
         var robj = g.network.simple_request( 'BLOB_BALANCE_OWED_VIA_USERGROUP', [ ses(), g.patron.usrgroup() ]);
-        if (typeof robj.ils_event != 'undefined') { throw(robj); }
+        if (typeof robj.ilsevent != 'undefined') { throw(robj); }
 
         var sum = 0; /* in cents */
         g.group_owed = {};

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2010-03-11 09:53:32 UTC (rev 15785)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2010-03-11 10:02:17 UTC (rev 15786)
@@ -272,7 +272,7 @@
                                         try {
                                             JSAN.use('util.money');
                                             var robj = req.getResultObject();
-                                            if (typeof robj.ils_event != 'undefined') { throw(robj); }
+                                            if (typeof robj.ilsevent != 'undefined') { throw(robj); }
 
                                             var sum = 0; /* in cents */
                                             obj.group_owed = {};



More information about the open-ils-commits mailing list