[open-ils-commits] r10241 - trunk/Open-ILS/web/opac/common/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Aug 3 19:58:15 EDT 2008
Author: erickson
Date: 2008-08-03 19:58:09 -0400 (Sun, 03 Aug 2008)
New Revision: 10241
Modified:
trunk/Open-ILS/web/opac/common/js/org_utils.js
Log:
"parent" is a special variable. some browsers (opera) will complain
Modified: trunk/Open-ILS/web/opac/common/js/org_utils.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/org_utils.js 2008-08-03 23:57:06 UTC (rev 10240)
+++ trunk/Open-ILS/web/opac/common/js/org_utils.js 2008-08-03 23:58:09 UTC (rev 10241)
@@ -112,9 +112,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