[open-ils-commits] r10242 -
branches/rel_1_2/Open-ILS/web/opac/common/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Aug 3 20:03:29 EDT 2008
Author: erickson
Date: 2008-08-03 20:03:24 -0400 (Sun, 03 Aug 2008)
New Revision: 10242
Modified:
branches/rel_1_2/Open-ILS/web/opac/common/js/org_utils.js
Log:
"parent" is a special variable. some browsers (opera) will complain
Modified: branches/rel_1_2/Open-ILS/web/opac/common/js/org_utils.js
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/common/js/org_utils.js 2008-08-03 23:58:09 UTC (rev 10241)
+++ branches/rel_1_2/Open-ILS/web/opac/common/js/org_utils.js 2008-08-04 00:03:24 UTC (rev 10242)
@@ -102,9 +102,9 @@
continue;
}
- var parent = findOrgUnit(x.parent_ou());
- if (!parent.children()) parent.children(new Array());
- parent.children().push(x);
+ var par = findOrgUnit(x.parent_ou());
+ if (!par.children()) par.children(new Array());
+ par.children().push(x);
}
function _tree_killer () {
More information about the open-ils-commits
mailing list