[open-ils-commits] r12205 - trunk/Open-ILS/web/js/dojo/fieldmapper (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 17 13:06:16 EST 2009
Author: erickson
Date: 2009-02-17 13:06:13 -0500 (Tue, 17 Feb 2009)
New Revision: 12205
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
Log:
repaired org setting calls. added static version so no org-unit reference is required
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2009-02-17 16:42:10 UTC (rev 12204)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2009-02-17 18:06:13 UTC (rev 12205)
@@ -100,9 +100,21 @@
/* ---------------------------------------------------------------------- */
fieldmapper.aou.prototype.fetchOrgSettingDefault = function (name) {
- return this.standardRequest( fieldmapper.OpenSRF.methods.FETCH_ORG_SETTING, name );
+ return this.standardRequest( fieldmapper.OpenSRF.methods.FETCH_ORG_SETTING, [this.id(), name] );
}
+ fieldmapper.aou.prototype.fetchOrgSettingBatch = function (nameList) {
+ return this.standardRequest( fieldmapper.OpenSRF.methods.FETCH_ORG_SETTING_BATCH, [this.id(), nameList] );
+ }
+
+ fieldmapper.aou.fetchOrgSettingDefault = function (orgId, name) {
+ return fieldmapper.standardRequest( fieldmapper.OpenSRF.methods.FETCH_ORG_SETTING, [orgId, name] );
+ }
+
+ fieldmapper.aou.fetchOrgSettingBatch = function (orgId, nameList) {
+ return fieldmapper.standardRequest( fieldmapper.OpenSRF.methods.FETCH_ORG_SETTING_BATCH, [orgId, nameList] );
+ }
+
fieldmapper.aout.findOrgType = function (id) {
fieldmapper.aout.LoadOrgTypes();
return fieldmapper.aout.OrgTypeCache[id].type;
More information about the open-ils-commits
mailing list