Code

Added possibility to do notifications. Not used currently.
[gosa.git] / html / index.php
index 33ff26197b14322da089c148ca52dd87063792c3..5a4f2128ace55ec478da35ddf9bf0fb293c0283c 100644 (file)
@@ -382,14 +382,6 @@ if ($error_collector != ""){
   $smarty->assign("php_errors", "");
 }
 
-/* Set focus to the error button if we've an error message */
-$focus= "";
-if (isset($_SESSION['errors']) && $_SESSION['errors'] != ""){
-  $focus= '<script language="JavaScript" type="text/javascript">';
-  $focus.= 'document.forms[0].error_accept.focus();';
-  $focus.= '</script>';
-}
-$smarty->assign("focus", $focus);
 displayLogin();
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: