Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2014 10:38:55 +0000 (12:38 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 12 Jun 2014 10:38:55 +0000 (12:38 +0200)
js/pz2.js

index 824fd60..59c501d 100644 (file)
--- 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;
     }