From 7268be709f8b7ecc6e2abb3bff746d1bd2c9a8e3 Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Fri, 5 Jan 2007 13:45:35 +0000 Subject: [PATCH] Present facets in the right style. --- www/demo/search.js | 6 +++--- www/demo/settings.phpi | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/www/demo/search.js b/www/demo/search.js index dd06abd..633b10b 100644 --- a/www/demo/search.js +++ b/www/demo/search.js @@ -1,4 +1,4 @@ -/* $Id: search.js,v 1.3 2007-01-05 13:33:47 sondberg Exp $ +/* $Id: search.js,v 1.4 2007-01-05 13:45:35 sondberg Exp $ * --------------------------------------------------- * Javascript container */ @@ -258,7 +258,7 @@ function show_termlist() } else { - body.innerHTML = "Limit results:
"; + body.innerHTML = ''; for (i = 0; i < hits.length; i++) { @@ -267,8 +267,8 @@ function show_termlist() body.innerHTML += '' + namen[0].childNodes[0].nodeValue + ''; - body.innerHTML += '
'; } + if (clients > 0) termtimer = setTimeout(check_termlist, 1000); } diff --git a/www/demo/settings.phpi b/www/demo/settings.phpi index c40101a..5bc3c6f 100644 --- a/www/demo/settings.phpi +++ b/www/demo/settings.phpi @@ -1,12 +1,13 @@ -- 1.7.10.4