Module: check_mk
Branch: master
Commit: 4a6f5315dd94bbbe32c8648545dd2e05e53036a7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4a6f5315dd94bb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 5 08:39:06 2013 +0200
table search: Fixed focusing the search field on rendering
---
web/htdocs/table.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/table.py b/web/htdocs/table.py
index 07793ef..9c27e23 100644
--- a/web/htdocs/table.py
+++ b/web/htdocs/table.py
@@ -199,7 +199,7 @@ def end():
html.text_input("_%s_search" % table_id)
html.button("_%s_submit" % table_id, _("Search"))
html.button("_%s_reset" % table_id, _("Reset"))
- html.set_focus("search")
+ html.set_focus("_%s_search" % table_id)
html.write("</div>\n")
html.hidden_fields()