From 93c6ea044dd5de839d2917ab243f7ab7b32f3cb5 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 13 May 2010 21:31:57 +0000 Subject: [PATCH] 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 --- Open-ILS/web/reports/xul/template-config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () { -- 2.11.0