From: Mike Taylor Date: Thu, 12 Jun 2014 08:27:52 +0000 (+0100) Subject: Undo commit 79502c7f2d7163685633137c9f435fada3df413e X-Git-Tag: v1.7.0~5^2~2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=f79119858ab6b485fd5e51dc6c0f478719eec38d;p=pazpar2-moved-to-github.git Undo commit 79502c7f2d7163685633137c9f435fada3df413e Jakub fears it might break on old IEs. --- diff --git a/js/pz2.js b/js/pz2.js index 824fd60..59c501d 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1194,7 +1194,7 @@ Element_parseChildNodes = function (node) for (var i = 0; i < attrs.length; i++) { hasChildElems = true; var attrName = '@' + attrs[i].nodeName; - var attrValue = attrs[i].value; + var attrValue = attrs[i].nodeValue; parsed[attrName] = attrValue; }