From: dbs Date: Sat, 14 Mar 2009 02:21:50 +0000 (+0000) Subject: Typo: Anscestor -> Ancestor X-Git-Tag: sprint4-merge-nov22~10533 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b91fc17397eda1d48399356435bd2979ca63ef46;p=working%2FEvergreen.git Typo: Anscestor -> Ancestor git-svn-id: svn://svn.open-ils.org/ILS/trunk@12514 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/reports/xul/source-browse.js b/Open-ILS/web/reports/xul/source-browse.js index 87a40f101a..b444781fa0 100644 --- a/Open-ILS/web/reports/xul/source-browse.js +++ b/Open-ILS/web/reports/xul/source-browse.js @@ -45,7 +45,7 @@ function sourceTreeHandler (ev, dbl) { if (map) continue; var pathList = []; - findAnscestorStack( item, 'treeitem', pathList ); + findAncestorStack( item, 'treeitem', pathList ); var fullpath = ''; diff --git a/Open-ILS/web/reports/xul/utilities.js b/Open-ILS/web/reports/xul/utilities.js index bfefacfaa1..a7ad73cd15 100644 --- a/Open-ILS/web/reports/xul/utilities.js +++ b/Open-ILS/web/reports/xul/utilities.js @@ -46,16 +46,16 @@ function getSelectedItems(tree) { 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) {