From 749f44d144bad83f393bc816d1c8bd73755ce42c Mon Sep 17 00:00:00 2001 From: allo Date: Sat, 29 Oct 2005 10:52:21 +0000 Subject: [PATCH] LiveUpdate. (this does not work correctly at the Moment :-/) git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1003 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/js/WatchCrawler.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js index 7fd92de1c..761503390 100644 --- a/htroot/js/WatchCrawler.js +++ b/htroot/js/WatchCrawler.js @@ -3,6 +3,16 @@ function handleResponse(){ var response = http.responseXML; indexingTable=document.getElementById("indexingTable"); entries=response.getElementsByTagName("entry"); + + //skip the Tableheade + row=indexingTable.firstChild.nextSibling.nextSibling; + + while(row != null){ //delete old entries + indexingTable.removeChild(row); + row=indexingTable.firstChild.nextSibling.nextSibling; + } + + dark=false; for(i=0;i