]> git.wh0rd.org - tt-rss.git/commitdiff
search form input field: properly handle enter
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 18 Jan 2010 13:14:56 +0000 (16:14 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 18 Jan 2010 13:14:56 +0000 (16:14 +0300)
modules/popup-dialog.php

index 78bc3ba707a3b6b6605c48790b6c2a326eafcc14..3c00afba2c436575be174ca27687961c9407d7a4 100644 (file)
 
                        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')." ";