diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-15 14:27:48 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-15 14:27:48 -0800 |
commit | 5e25d2f7f11a75386e3c7f3d1d0c496eb3287cac (patch) | |
tree | 7c3d21e0385ead3284cd482931e65bf233ec543f /modules/gallery/views/reauthenticate.html.php | |
parent | 6c89bb88789257d1dfe4c2ce6eb14e64fe87507c (diff) |
Put focus on password field in reauthenticate dialog.
Diffstat (limited to 'modules/gallery/views/reauthenticate.html.php')
-rw-r--r-- | modules/gallery/views/reauthenticate.html.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gallery/views/reauthenticate.html.php b/modules/gallery/views/reauthenticate.html.php index 8611d0f7..9a6696fb 100644 --- a/modules/gallery/views/reauthenticate.html.php +++ b/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>
\ No newline at end of file |