diff options
author | Andrew Dolgov <[email protected]> | 2005-08-25 14:31:52 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-08-25 14:31:52 +0100 |
commit | 760966c15000eca3700d704b86999b4875f03eb9 (patch) | |
tree | a965b496afa60e232f98315b5c719c8e09d7bb69 /backend.php | |
parent | c374a3fecab6e98544acc53e4bdaf034caf20caf (diff) |
disable hotkey processing while searchbox is focused
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 4 |
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> |