ilsevent, not ils_event
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 10:02:17 +0000 (10:02 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 11 Mar 2010 10:02:17 +0000 (10:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15786 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/util.js
Open-ILS/xul/staff_client/server/circ/copy_status.js
Open-ILS/xul/staff_client/server/patron/bill2.js
Open-ILS/xul/staff_client/server/patron/info_group.js
Open-ILS/xul/staff_client/server/patron/summary.js

index c771491..e32922b 100644 (file)
@@ -211,7 +211,7 @@ cat.util.show_in_opac = function(selection_list) {
             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;
                 }
index d997b0e..ebf6180 100644 (file)
@@ -705,7 +705,7 @@ circ.copy_status.prototype = {
                                     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 );
                                         }
                                     }
index 7ef3f58..b90004f 100644 (file)
@@ -760,7 +760,7 @@ function apply_payment() {
                 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() ));
                     }
index 8aabf7e..f0c7652 100644 (file)
@@ -34,7 +34,7 @@ function retrieve_money_summaries() {
     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 = {};
index f868266..e72de48 100644 (file)
@@ -272,7 +272,7 @@ patron.summary.prototype = {
                                         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 = {};