From: erickson Date: Mon, 8 Dec 2008 21:07:18 +0000 (+0000) Subject: remove any reference to the old billing_type retrieval method, since it's doing more... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4a502771af00dc8a329dd1bb96056d9b09d4075b;p=Evergreen.git remove any reference to the old billing_type retrieval method, since it's doing more harm than good for out-of-the box installs (throws error on null response since there's no data to retrieve) git-svn-id: svn://svn.open-ils.org/ILS/trunk@11453 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js index 0fad32f613..cee3eaaea1 100644 --- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js +++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js @@ -493,21 +493,6 @@ OpenILS.data.prototype = { this.chain.push( function() { - try { - var robj = obj.network.simple_request('BILLING_TYPE_LIST',[]); - if (typeof robj.ilsevent != 'undefined') throw(robj); - obj.list.billing_type = robj; - obj.data_progress('Retrieved billing type list. '); - } catch(E) { - var error = 'Error: ' + js2JSON(E); - obj.error.sdump('D_ERROR',error); - throw(E); - } - } - ); - - this.chain.push( - function() { var f = gen_fm_retrieval_func( 'cnal', [ diff --git a/Open-ILS/xul/staff_client/chrome/content/main/constants.js b/Open-ILS/xul/staff_client/chrome/content/main/constants.js index 28e2def8b1..d113f86055 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/constants.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/constants.js @@ -28,7 +28,6 @@ const api = { 'AUTH_WORKSTATION' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.workstation.register' }, 'AUTH_VERIFY_CREDENTIALS' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.verify_user_password' }, 'BILL_PAY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment' }, - 'BILLING_TYPE_LIST' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.billing_type.retrieve.all', 'secure' : false }, 'BLOB_AU_PARTS_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.retrieve.parts', 'cacheable' : true, 'ttl' : 120000 }, 'BLOB_MARC_CALLNUMBERS_RETRIEVE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.marc_cn.retrieve', 'secure' : false }, 'BLOB_MOBTS_CIRC_MVR_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.have_balance.fleshed' },