]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: remove the autofocus on the scope input field
authorCyril Bonté <cyril.bonte@free.fr>
Thu, 18 Apr 2013 20:38:35 +0000 (22:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Apr 2013 20:42:33 +0000 (22:42 +0200)
commit5465684e204078a105ce7708aa23f021d615c8c2
treece1e6c5ae7f5d7e63db9b6281a616eb037bb9937
parent88c278fadf78bd32c6e52dc668d5602d8a52330a
MINOR: stats: remove the autofocus on the scope input field

commit 88c278fadf provided a new input field on the statistics page which was
focused by default. The autofocus prevent to scroll down the page with the
keyboard immediately afterloading it, without the need to leave that field.
It also interfered with "stats refresh" by scrolling up to this field on each
refresh.

This small patch removes the autofocus keyword and adds a tabindex="1" as
suggested by Vincent Bernat. It also cleans up the generated html code.
src/dumpstats.c