]> git.wh0rd.org - tt-rss.git/commitdiff
login form: focus login field
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 9 Oct 2012 06:35:59 +0000 (10:35 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 9 Oct 2012 06:35:59 +0000 (10:35 +0400)
include/login_form.php

index 2c096a67584f79cd7277d470fe2d01541b16a29f..68df544e30256f3f08f03baf2cda3c56e69c89eb 100644 (file)
@@ -102,6 +102,8 @@ function init() {
        fetchProfiles();
 
        dijit.byId("bw_limit").attr("checked", getCookie("ttrss_bwlimit") == 'true');
+
+       document.forms.loginForm.login.focus();
 }
 
 function fetchProfiles() {