[open-ils-commits] r12876 - trunk/Open-ILS/web/js/dojo/fieldmapper (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 15 11:09:25 EDT 2009
Author: miker
Date: 2009-04-15 11:09:23 -0400 (Wed, 15 Apr 2009)
New Revision: 12876
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
Log:
protect the org trail from the top of the tree WITHOUT breaking everything...
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2009-04-15 15:08:15 UTC (rev 12875)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js 2009-04-15 15:09:23 UTC (rev 12876)
@@ -174,9 +174,10 @@
while( node ) {
na.push(node);
- node = null;
if (node.parent_ou())
node = fieldmapper.aou.findOrgUnit(node.parent_ou());
+ else
+ node = null;
}
return na.reverse();
More information about the open-ils-commits
mailing list