Przeglądaj źródła

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 lat temu
rodzic
commit
aec498fd59
1 zmienionych plików z 1 dodań i 1 usunięć
  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 );
 
-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";
 
 $username_form_name = 'login_username';