소스 검색

The body tag was not correctly specifying the onLoad function to run, so the javascript was all but ignored. This was breaking js detection as well as moving the focus to the text box.

tassium 22 년 전
부모
커밋
aec498fd59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/login.php

+ 1 - 1
src/login.php

@@ -75,7 +75,7 @@ if (@file_exists($theme[$theme_default]['PATH']))
 
 
 displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
 displayHtmlHeader( "$org_name - " . _("Login"), $header, FALSE );
 
 
-echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\" squirrelmail_loginpage_onload();>" .
+echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\" onLoad=\"squirrelmail_loginpage_onload()\">" .
      "\n" . '<form action="redirect.php" method="post">' . "\n";
      "\n" . '<form action="redirect.php" method="post">' . "\n";
 
 
 $username_form_name = 'login_username';
 $username_form_name = 'login_username';