From fee41c3378b2a17590bf04ad34f6c33e76d33dfc Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 6 Oct 2009 22:55:50 -0600 Subject: [PATCH] Better display of this search criteria --- imp/js/search.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imp/js/search.js b/imp/js/search.js index 147c685d9..fe2fd8f35 100644 --- a/imp/js/search.js +++ b/imp/js/search.js @@ -279,8 +279,7 @@ var ImpSearch = { var tmp = [ new Element('EM').insert(this.getLabel(id)), - new Element('INPUT', { type: 'text', size: 8 }).setValue(data.v), - $($('within_criteria').cloneNode(true)).writeAttribute({ id: null }).show().setValue(data.l) + new Element('SPAN').insert(new Element('INPUT', { type: 'text', size: 8 }).setValue(data.v)).insert(' ').insert($($('within_criteria').cloneNode(true)).writeAttribute({ id: null }).show().setValue(data.l)) ]; this.criteria[this.insertCriteria(tmp)] = { t: id }; tmp[1].activate(); -- 2.11.0