From b6255846a675b67bbadfc54072c399fef28c3fff Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 26 Jun 2007 07:20:03 +0000 Subject: [PATCH] Focus for login window. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6687 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 6 ++++++ 1 file changed, 6 insertions(+) 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: ?> -- 2.30.2