From: dbs Date: Fri, 18 Feb 2011 18:36:49 +0000 (+0000) Subject: Switch to BT.textContent() for Opera compatibility X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ba4e04afe482830e481349c090e99f57e6fe7637;p=contrib%2FConifer.git Switch to BT.textContent() for Opera compatibility The BT.textContent() method abstracts away some of the browser differences for us. Most importantly, it makes Opera happy. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19485 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/xml/result/result_table.xml b/Open-ILS/web/opac/skin/default/xml/result/result_table.xml index 9430af684e..6575a5973f 100644 --- a/Open-ILS/web/opac/skin/default/xml/result/result_table.xml +++ b/Open-ILS/web/opac/skin/default/xml/result/result_table.xml @@ -172,7 +172,7 @@ vol_appended = true; } var loc = dojo.create('span', { "style": "font-weight: bold;"}, cp_entry); - var loc_txt = dojo.doc.createTextNode(' - ' + dojox.xml.parser.textContent(location)); + var loc_txt = dojo.doc.createTextNode(' - ' + BT.textContent(location)); loc.appendChild(loc_txt); } }); @@ -186,7 +186,7 @@ }); dojo.query('status', cp).forEach(function (status) { var cp_status = dojo.create('span', { "style": "font-weight: bold;" }, cp_entry); - var cp_status_txt = dojo.doc.createTextNode(' (' + dojox.xml.parser.textContent(status) + ')'); + var cp_status_txt = dojo.doc.createTextNode(' (' + BT.textContent(status) + ')'); cp_status.appendChild(cp_status_txt); });