From: Michael M Slusarz Date: Wed, 7 Oct 2009 04:55:50 +0000 (-0600) Subject: Better display of this search criteria X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fee41c3378b2a17590bf04ad34f6c33e76d33dfc;p=horde.git Better display of this search criteria --- 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();