summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-25 14:31:52 +0100
committerAndrew Dolgov <[email protected]>2005-08-25 14:31:52 +0100
commit760966c15000eca3700d704b86999b4875f03eb9 (patch)
treea965b496afa60e232f98315b5c719c8e09d7bb69 /backend.php
parentc374a3fecab6e98544acc53e4bdaf034caf20caf (diff)
disable hotkey processing while searchbox is focused
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index d29cc280b..dd38641ac 100644
--- a/backend.php
+++ b/backend.php
@@ -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>