summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-18 16:14:56 +0300
committerAndrew Dolgov <[email protected]>2010-01-18 16:14:56 +0300
commit69d582f0effd8a01f266cca730b7a08151a8fc56 (patch)
tree39d0630f466929f1e402f7496a1423cd52b9ec35 /modules/popup-dialog.php
parenteb6c7f4240b772314e99fd8e81ea90be3412d417 (diff)
search form input field: properly handle enter
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php3
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')." ";