Added a reset button to searchfields, improved js code

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-05 19:16:56 +01:00
parent 39b1980509
commit ec69af7938
2 changed files with 16 additions and 10 deletions

View File

@@ -2,5 +2,6 @@
<select name="searchfield">
{$fieldoptions}
</select>&nbsp;
<input type="text" name="searchtext" value="{$searchtext}" />&nbsp;
<input type="submit" name="Go" value="Go" />
<input type="text" name="searchtext" class="searchtext" value="{$searchtext}" />&nbsp;
<input type="submit" name="Go" value="Go" class="submitsearch" />
<input type="reset" name="Reset" value="Reset" class="resetsearch" />