From: cajus Date: Tue, 26 Jun 2007 07:20:03 +0000 (+0000) Subject: Focus for login window. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b6255846a675b67bbadfc54072c399fef28c3fff;p=gosa.git Focus for login window. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6687 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/index.php b/html/index.php index c33e7bbcd..4ace274aa 100644 --- a/html/index.php +++ b/html/index.php @@ -380,6 +380,12 @@ if ($error_collector != ""){ } displayLogin(); +/* Set focus to the error button if we've an error message */ +if (isset($_SESSION['errors']) && $_SESSION['errors'] != ""){ + echo ''; +} // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>