From 0633d52035149cb50dcbf019d6967a6e120e4a0f Mon Sep 17 00:00:00 2001 From: "Anders S. Mortensen" Date: Thu, 14 Dec 2006 11:04:31 +0000 Subject: [PATCH] Added refinement feature. --- www/test1/index.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/test1/index.html b/www/test1/index.html index 3b44bcc..23a3c89 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -162,6 +162,14 @@ function check_search() xshow.send(null); } + +function refine_query (obj) { + var query_cell = document.getElementById('query'); + + query_cell.value += ' and su=' + obj.innerHTML; + start_search(); +} + function show_termlist() { if (xtermlist.readyState != 4) @@ -181,7 +189,9 @@ function show_termlist() { var namen = hits[i].getElementsByTagName("name"); if (namen[0]) - body.innerHTML += namen[0].childNodes[0].nodeValue; + body.innerHTML += '' + + namen[0].childNodes[0].nodeValue + + ''; /* body.innerHTML += ' ('; var freqn = hits[i].getElementsByTagName("frequency"); -- 1.7.10.4