From fbca4f8354984f82d7a6d72e777201514ec48b2e Mon Sep 17 00:00:00 2001 From: lotus Date: Thu, 23 Apr 2009 18:42:15 +0000 Subject: [PATCH] more stability on watchcrawler git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5861 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/WatchCrawler_p.html | 2 +- htroot/js/WatchCrawler.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/htroot/WatchCrawler_p.html b/htroot/WatchCrawler_p.html index 90024cd98..7868745ef 100644 --- a/htroot/WatchCrawler_p.html +++ b/htroot/WatchCrawler_p.html @@ -8,7 +8,7 @@ - + #%env/templates/header.template%# #%env/templates/submenuIndexCreate.template%#

Crawler Queues

diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js index f4ff0053d..a6e5df224 100644 --- a/htroot/js/WatchCrawler.js +++ b/htroot/js/WatchCrawler.js @@ -12,9 +12,11 @@ var changing=false; //change the interval var statusLoaded=true; var queueLoaded=true; -refresh(); -//loadInterval=window.setInterval("refresh()", refreshInterval*1000); -countInterval=window.setInterval("countdown()", 1000); +function initWatchCrawler(){ + refresh(); + //loadInterval=window.setInterval("refresh()", refreshInterval*1000); + countInterval=window.setInterval("countdown()", 1000); +} function changeInterval(){ if(!changing){