[open-ils-commits] r18668 - trunk/Open-ILS/web/js/dojo/fieldmapper (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Nov 8 16:37:48 EST 2010


Author: miker
Date: 2010-11-08 16:37:42 -0500 (Mon, 08 Nov 2010)
New Revision: 18668

Modified:
   trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js
Log:
Allow forced loading of the whole IDL with: fieldmapper.IDL.load(["*"]);

Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js	2010-11-08 21:26:26 UTC (rev 18667)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/IDL.js	2010-11-08 21:37:42 UTC (rev 18668)
@@ -14,7 +14,7 @@
             if(!fieldmapper.IDL.fmclasses || (classlist && classlist.length)) {
                 var idl_url = this._URL_PATH;
 
-                if (classlist.length) {
+                if (classlist.length > 1 || classlist[0] != '*') {
                     idl_url += '?';
 
                     for (var i = 0; i < classlist.length; i++) {



More information about the open-ils-commits mailing list