[open-ils-commits] r16495 - trunk/Open-ILS/web/js/dojo/fieldmapper (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 25 12:51:19 EDT 2010
Author: miker
Date: 2010-05-25 12:51:16 -0400 (Tue, 25 May 2010)
New Revision: 16495
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
Log:
The Great For-In Refactoring of ought-nine broke dojo trees built from opensrf objects. this un-refactors that
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js 2010-05-25 16:21:56 UTC (rev 16494)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/dojoData.js 2010-05-25 16:51:16 UTC (rev 16495)
@@ -80,7 +80,7 @@
item_data.push( obj );
}
- for (var j = 0; _find_root && j < _find_root.length; j++) {
+ for (var j in _find_root) {
_find_root[j]['_top'] = 'true';
if (!_find_root[j][params.parent])
_find_root[j]['_trueRoot'] = 'true';
More information about the open-ils-commits
mailing list