diff options
Diffstat (limited to 'template/en/default/search/search-specific.html.tmpl')
-rw-r--r-- | template/en/default/search/search-specific.html.tmpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index 2d7eb945d..d93abd883 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -109,8 +109,12 @@ for "crash secure SSL flash". <tr> <td></td> <td> - <input type="submit" id="search" value="Search"> - </td> + <input type="submit" id="search" value="Search" + onclick="if (this.form.content.value == '') + {alert('The Words field cannot be empty. You have to ' + + 'enter at least one word in your search criteria.'); + return false;} return true;"> + </td> </tr> </table> </form> |