[open-ils-commits] r12514 - trunk/Open-ILS/web/reports/xul (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 13 22:21:52 EDT 2009
Author: dbs
Date: 2009-03-13 22:21:50 -0400 (Fri, 13 Mar 2009)
New Revision: 12514
Modified:
trunk/Open-ILS/web/reports/xul/source-browse.js
trunk/Open-ILS/web/reports/xul/utilities.js
Log:
Typo: Anscestor -> Ancestor
Modified: trunk/Open-ILS/web/reports/xul/source-browse.js
===================================================================
--- trunk/Open-ILS/web/reports/xul/source-browse.js 2009-03-14 02:12:06 UTC (rev 12513)
+++ trunk/Open-ILS/web/reports/xul/source-browse.js 2009-03-14 02:21:50 UTC (rev 12514)
@@ -45,7 +45,7 @@
if (map) continue;
var pathList = [];
- findAnscestorStack( item, 'treeitem', pathList );
+ findAncestorStack( item, 'treeitem', pathList );
var fullpath = '';
Modified: trunk/Open-ILS/web/reports/xul/utilities.js
===================================================================
--- trunk/Open-ILS/web/reports/xul/utilities.js 2009-03-14 02:12:06 UTC (rev 12513)
+++ trunk/Open-ILS/web/reports/xul/utilities.js 2009-03-14 02:21:50 UTC (rev 12514)
@@ -46,16 +46,16 @@
return itemList;
}
-function findAnscestor (node, name) {
+function findAncestor (node, name) {
if (node.nodeName == name) return node;
if (!node.parentNode) return null;
- return findAnscestor(node.parentNode, name);
+ return findAncestor(node.parentNode, name);
}
-function findAnscestorStack (node, name, stack) {
+function findAncestorStack (node, name, stack) {
if (node.nodeName == name) stack.push(node);
if (!node.parentNode) return null;
- findAnscestorStack(node.parentNode, name, stack);
+ findAncestorStack(node.parentNode, name, stack);
}
function filterByAttribute(nodes,attrN,attrV) {
More information about the open-ils-commits
mailing list