]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref search boxes: disable hotkeys on input
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 03:11:51 +0000 (04:11 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 May 2008 03:11:51 +0000 (04:11 +0100)
modules/pref-feeds.php
modules/pref-filters.php
modules/pref-labels.php

index 86da84bb445edfbc1bfac55fc0e0ccdc071b366d..e52e54c8aa5ca85ae0f9683cd46a90d487ae4bd1 100644 (file)
 
                print "<div class=\"feedEditSearch\">
                        <input id=\"feed_search\" size=\"20\" type=\"search\"
+                               onfocus=\"javascript:disableHotkeys();\" 
+                               onblur=\"javascript:enableHotkeys();\"
                                onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
                        <input type=\"submit\" class=\"button\" 
                                onclick=\"javascript:updateFeedList()\" value=\"".__('Search')."\">
index 60fec2174b8612e56b7a69f2dbb14459a95787e7..fcd04de7330db922d02a451137127857742a3a61 100644 (file)
 
                print "<div class=\"feedEditSearch\">
                        <input id=\"filter_search\" size=\"20\" type=\"search\"
+                               onfocus=\"javascript:disableHotkeys();\" 
+                               onblur=\"javascript:enableHotkeys();\"
                                onchange=\"javascript:updateFilterList()\" value=\"$filter_search\">
                        <input type=\"submit\" class=\"button\" 
                        onclick=\"javascript:updateFilterList()\" value=\"".__('Search')."\">
index 7cdde4832966a469a23f7dc358ac3f8aa3c8e123..617952270ce1af420f14f41d3ed45588dfb12bde 100644 (file)
 
                print "<div class=\"feedEditSearch\">
                        <input id=\"label_search\" size=\"20\" type=\"search\"
+                               onfocus=\"javascript:disableHotkeys();\" 
+                               onblur=\"javascript:enableHotkeys();\"
                                onchange=\"javascript:updateLabelList()\" value=\"$label_search\">
                        <input type=\"submit\" class=\"button\" 
                                onclick=\"javascript:updateLabelList()\" value=\"".__('Search')."\">