Add "alreadyFocused" functionality to login page
[squirrelmail.git] / templates / default_advanced / login.tpl
index a18ff183a150a555b02599d5391d976a78aa1b6d..b89fe0425a23c545477879c098efcd96d05c1a07 100644 (file)
@@ -59,7 +59,7 @@ extract($t);
       <?php echo _("Name:"); ?>
      </td>
      <td class="fieldInput">
       <?php echo _("Name:"); ?>
      </td>
      <td class="fieldInput">
-      <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" class="input" />
+      <input type="text" name="login_username" value="<?php echo $login_field_value; ?>" id="login_username" class="input" onfocus="alreadyFocused=true;" />
      </td>
     </tr>
     <tr>
      </td>
     </tr>
     <tr>
@@ -67,7 +67,7 @@ extract($t);
       <?php echo _("Password:"); ?>
      </td>
      <td class="fieldInput">
       <?php echo _("Password:"); ?>
      </td>
      <td class="fieldInput">
-      <input type="password" name="secretkey" value="" id="secretkey" class="input" />
+      <input type="password" name="secretkey" value="" id="secretkey" class="input" onfocus="alreadyFocused=true;" />
       <?php echo $login_extra; ?>
      </td>
     </tr>
       <?php echo $login_extra; ?>
      </td>
     </tr>