diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js index 198671f11..700014b0c 100644 --- a/htroot/js/WatchCrawler.js +++ b/htroot/js/WatchCrawler.js @@ -60,15 +60,16 @@ function handleStatus(){ } var statusResponse = statusRPC.responseXML; statusTag=getFirstChild(getFirstChild(statusResponse, ""), "status") - /*indexingqueue=getFirstChild(statusTag, "indexingqueue"); - - indexingqueue_size=getValue(getFirstChild(indexingqueue, "size")); - indexingqueue_max=getValue(getFirstChild(indexingqueue, "max"));*/ ppm=getValue(getFirstChild(statusTag, "ppm")) - -/* document.getElementById("indexingqueuesize").firstChild.nodeValue=indexingqueue_size; - document.getElementById("indexingqueuemax").firstChild.nodeValue=indexingqueue_max;*/ - document.getElementById("ppm").firstChild.nodeValue=ppm; + var ppmSpan = document.getElementById("ppm"); + removeAllChildren(ppmSpan); + ppmSpan.appendChild(document.createTextNode(ppm)); + ppmSpan.appendChild(document.createElement("br")); + for(i=0;i