summaryrefslogtreecommitdiff
path: root/modules/pref-labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-17 04:11:51 +0100
committerAndrew Dolgov <[email protected]>2008-05-17 04:11:51 +0100
commit4cf6fc6afba5b1b463d839db517ca45c65ce9520 (patch)
tree737c8bd79f5c98c50f9a927835152c3d9993617e /modules/pref-labels.php
parent112d2aec273278dae9ff0f715af836df09163a91 (diff)
pref search boxes: disable hotkeys on input
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 7cdde4832..617952270 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -226,6 +226,8 @@
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')."\">