From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Thu, 11 Mar 2010 10:02:17 +0000 (+0000) Subject: ilsevent, not ils_event X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=eb7be557654026ea85f37cf270a62d86070acd12;p=contrib%2FConifer.git ilsevent, not ils_event git-svn-id: svn://svn.open-ils.org/ILS/trunk@15786 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/util.js b/Open-ILS/xul/staff_client/server/cat/util.js index c771491b1a..e32922bb7f 100644 --- a/Open-ILS/xul/staff_client/server/cat/util.js +++ b/Open-ILS/xul/staff_client/server/cat/util.js @@ -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; } diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.js b/Open-ILS/xul/staff_client/server/circ/copy_status.js index d997b0e9b3..ebf6180f93 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.js +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.js @@ -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 ); } } diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js index 7ef3f58f35..b90004f3de 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill2.js +++ b/Open-ILS/xul/staff_client/server/patron/bill2.js @@ -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() )); } diff --git a/Open-ILS/xul/staff_client/server/patron/info_group.js b/Open-ILS/xul/staff_client/server/patron/info_group.js index 8aabf7ed29..f0c7652d55 100644 --- a/Open-ILS/xul/staff_client/server/patron/info_group.js +++ b/Open-ILS/xul/staff_client/server/patron/info_group.js @@ -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 = {}; diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index f868266da3..e72de48cdc 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -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 = {};