diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index b8293e099..e25e2eb29 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -147,6 +147,8 @@ class LoginWebPage extends NiceWebPage } $this->add("\n"); $this->add("\n"); + + $this->add_ready_script('$("#user").focus();'); // Keep the OTHER parameters posted foreach($_POST as $sPostedKey => $postedValue) @@ -203,6 +205,8 @@ class LoginWebPage extends NiceWebPage $this->add("\n"); $this->add("\n"); $this->add("\n"); + + $this->add_ready_script('$("#user").focus();'); } protected function ForgotPwdGo()