1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-30 04:31:27 +00:00

disable hotkey processing while searchbox is focused

This commit is contained in:
Andrew Dolgov
2005-08-25 14:31:52 +01:00
parent c374a3feca
commit 760966c150
2 changed files with 16 additions and 1 deletions

View File

@@ -245,7 +245,9 @@
$feed_last_updated = "Updated: " . $line["last_updated"];
print "<tr><td class=\"search\" colspan=\"3\">
Search: <input id=\"searchbox\" onchange=\"javascript:search($feed);\">
Search: <input id=\"searchbox\"
onblur=\"javascript:enableHotkeys()\" onfocus=\"javascript:disableHotkeys()\"
onchange=\"javascript:search($feed);\">
<a class=\"button\" href=\"javascript:resetSearch()\">Reset</a>
</td></tr>";
print "<tr>