X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=js%2Fpz2.js;h=bad26ac347493d6810d22c69a968b7718a7c28e0;hb=9cbe97e92bf5bafe179385692888e09426299f2d;hp=3804d1ad27c7c6dc948463798099588998256917;hpb=b2efe0bbbbe5aca31a268882795cd6f67c6c6012;p=pazpar2-moved-to-github.git diff --git a/js/pz2.js b/js/pz2.js index 3804d1a..bad26ac 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -250,6 +250,7 @@ pz2.prototype = this.termCounter = 0; this.bytargetCounter = 0; this.statCounter = 0; + this.activeClients = 1; // no proxy mode if( !this.initStatusOK ) @@ -966,7 +967,7 @@ Element_parseChildNodes = function (node) // if no nested elements, get text content if (node.hasChildNodes() && !hasChildElems) { if (node.attributes.length) - parsed['textContent'] = node.firstChild.nodeValue; + parsed['#text'] = node.firstChild.nodeValue; else parsed = node.firstChild.nodeValue; }