From e3acd2d8fc8cff6dbc6aab70415af4304410bee3 Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 18 Feb 2011 18:45:05 +0000 Subject: [PATCH] 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/branches/rel_2_1@19487 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/xml/result/result_table.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }); -- 2.11.0