diff options
author | Andrew Dolgov <[email protected]> | 2010-01-18 16:14:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-18 16:14:56 +0300 |
commit | 69d582f0effd8a01f266cca730b7a08151a8fc56 (patch) | |
tree | 39d0630f466929f1e402f7496a1423cd52b9ec35 | |
parent | eb6c7f4240b772314e99fd8e81ea90be3412d417 (diff) |
search form input field: properly handle enter
-rw-r--r-- | modules/popup-dialog.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 78bc3ba70..3c00afba2 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -378,7 +378,8 @@ print "<div class=\"dlgSecCont\">"; - print "<input name=\"query\" size=\"20\" type=\"search\" value=''>"; + print "<input onkeypress=\"return filterCR(event, search)\" + name=\"query\" size=\"20\" type=\"search\" value=''>"; print " " . __('match on')." "; |