[open-ils-commits] r14680 - trunk/Open-ILS/web/js/dojo/fieldmapper (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 29 13:55:53 EDT 2009
Author: miker
Date: 2009-10-29 13:55:49 -0400 (Thu, 29 Oct 2009)
New Revision: 14680
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/AutoIDL.js
Log:
teach AutoIDL how to load just a subset of classes
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/AutoIDL.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/AutoIDL.js 2009-10-29 17:19:40 UTC (rev 14679)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/AutoIDL.js 2009-10-29 17:55:49 UTC (rev 14680)
@@ -2,6 +2,14 @@
dojo.provide("fieldmapper.AutoIDL");
dojo.require("fieldmapper.IDL");
- fieldmapper.IDL.load();
+
+ var classlist = [];
+ try {
+ classlist = dojo.config.AutoIDL || [];
+ } catch(x) {
+ /* meh */
+ }
+
+ fieldmapper.IDL.load(classlist);
}
More information about the open-ils-commits
mailing list