Browse files

Put focus on password field in reauthenticate dialog.

  • Loading branch information...
1 parent 6c89bb8 commit 5e25d2f7f11a75386e3c7f3d1d0c496eb3287cac @andyst andyst committed Feb 15, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 modules/gallery/views/reauthenticate.html.php
View
5 modules/gallery/views/reauthenticate.html.php
@@ -7,4 +7,9 @@
<?= t("You are currently logged in as %user_name.", array("user_name" => $user_name)) ?>
</p>
<?= $form ?>
+ <script type="text/javascript">
+ $("#g-reauthenticate-form").ready(function() {
+ $("#g-password").focus();
+ });
+ </script>
</div>

0 comments on commit 5e25d2f

Please sign in to comment.