pref search boxes: disable hotkeys on input

This commit is contained in:
Andrew Dolgov
2008-05-17 04:11:51 +01:00
parent 112d2aec27
commit 4cf6fc6afb
3 changed files with 6 additions and 0 deletions

View File

@@ -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')."\">