From: Anders S. Mortensen Date: Mon, 18 Dec 2006 13:16:30 +0000 (+0000) Subject: Fixing bug which caused that the term list was never updated. X-Git-Tag: before.append.child~103 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=eca54f46680e3da32c28be81f127be97049b6edb;hp=2424ec60b95e210da9bd8152aca869e604184bff;p=pazpar2-moved-to-github.git Fixing bug which caused that the term list was never updated. --- diff --git a/www/test1/index.html b/www/test1/index.html index a79bc68..6ea1e45 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -175,13 +175,15 @@ function show_termlist() { if (xtermlist.readyState != 4) return; + var i; var xml = xtermlist.responseXML; var body = document.getElementById("termlist"); var hits = xml.getElementsByTagName("term"); if (!hits[0]) { - termtimer = (check_termlist, 1000); + termtimer = setTimeout(check_termlist, 1000); + } else {