[open-ils-commits] r16434 - trunk/Open-ILS/web/reports/xul (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 13 17:32:03 EDT 2010


Author: erickson
Date: 2010-05-13 17:31:57 -0400 (Thu, 13 May 2010)
New Revision: 16434

Modified:
   trunk/Open-ILS/web/reports/xul/template-config.js
Log:
nodeValue not working to find source def sql in the IDL.  at least, not with xulrunner-1.9.  textContent works

Modified: trunk/Open-ILS/web/reports/xul/template-config.js
===================================================================
--- trunk/Open-ILS/web/reports/xul/template-config.js	2010-05-13 21:31:56 UTC (rev 16433)
+++ trunk/Open-ILS/web/reports/xul/template-config.js	2010-05-13 21:31:57 UTC (rev 16434)
@@ -45,7 +45,8 @@
 
 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 () {



More information about the open-ils-commits mailing list