From fe46b0151976328bbee0399696c6013d0b7981b6 Mon Sep 17 00:00:00 2001 From: Gordian Edenhofer Date: Wed, 27 May 2015 12:17:15 +0200 Subject: Autofocus input fields at login and package-search At the login and the package search page, the user is promted to provide some input. Until now it was neccessary to first click the field in which the input should be placed. This can be simplified with HTML5 using the autofocus attribute of the input element, though not included in XHTML 1.0, the attribute was at least given a value to comply with the standard. Signed-off-by: Gordian Edenhofer Signed-off-by: Lukas Fleischer --- web/template/pkg_search_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template/pkg_search_form.php') diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index b4b88bd..683675b 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -71,7 +71,7 @@ $per_page = array(50, 100, 250);
- " maxlength='35' /> + " maxlength='35' autofocus="autofocus" />
-- cgit v1.2.3-70-g09d2