[open-ils-commits] r10240 - trunk/Open-ILS/web/js/dojo/fieldmapper
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Aug 3 19:57:12 EDT 2008
Author: erickson
Date: 2008-08-03 19:57:06 -0400 (Sun, 03 Aug 2008)
New Revision: 10240
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
Log:
"parent" is a special variable. some browsers (opera) will complain
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2008-08-03 14:20:53 UTC (rev 10239)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2008-08-03 23:57:06 UTC (rev 10240)
@@ -82,9 +82,9 @@
continue;
}
- var parent = fieldmapper.aou.findOrgUnit(x.parent_ou(),true);
- if (!parent.children()) parent.children([]);
- parent.children().push(x);
+ var par = fieldmapper.aou.findOrgUnit(x.parent_ou(),true);
+ if (!par.children()) par.children([]);
+ par.children().push(x);
fieldmapper.aou.OrgCache[x.id()].treePtr = x;
}
More information about the open-ils-commits
mailing list