[open-ils-commits] r11453 - in trunk/Open-ILS/xul/staff_client/chrome/content: OpenILS main
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 8 16:07:22 EST 2008
Author: erickson
Date: 2008-12-08 16:07:18 -0500 (Mon, 08 Dec 2008)
New Revision: 11453
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
Log:
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)
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-12-08 20:51:32 UTC (rev 11452)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/data.js 2008-12-08 21:07:18 UTC (rev 11453)
@@ -493,21 +493,6 @@
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',
[
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-12-08 20:51:32 UTC (rev 11452)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js 2008-12-08 21:07:18 UTC (rev 11453)
@@ -28,7 +28,6 @@
'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' },
More information about the open-ils-commits
mailing list