From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Thu, 13 May 2010 21:31:57 +0000 (+0000)
Subject: nodeValue not working to find source def sql in the IDL.  at least, not with xulrunne... 
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=93c6ea044dd5de839d2917ab243f7ab7b32f3cb5;p=contrib%2FConifer.git

nodeValue not working to find source def sql in the IDL.  at least, not with xulrunner-1.9.  textContent works

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16434 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/web/reports/xul/template-config.js b/Open-ILS/web/reports/xul/template-config.js
index c72758f711..46c66ac70a 100644
--- a/Open-ILS/web/reports/xul/template-config.js
+++ b/Open-ILS/web/reports/xul/template-config.js
@@ -45,7 +45,8 @@ function removeReportAtom (args) {
 
 function getSourceDefinition(class) {
 	var class_obj = getIDLClass(class);
-	return class_obj.getAttributeNS(persistNS,'tablename') || '(' + class_obj.getElementsByTagNameNS(persistNS,'source_definition')[0].nodeValue + ')';
+	return class_obj.getAttributeNS(persistNS,'tablename') || 
+        '(' + class_obj.getElementsByTagNameNS(persistNS,'source_definition')[0].textContent + ')';
 }
 
 function addReportAtoms () {