Skip to content

Commit

Permalink
Put focus on password field in reauthenticate dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
andyst committed Feb 15, 2010
1 parent 6c89bb8 commit 5e25d2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/gallery/views/reauthenticate.html.php
Expand Up @@ -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.