diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/views/error_404.html.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/gallery/views/error_404.html.php b/modules/gallery/views/error_404.html.php index 4b037a79..42f62b6c 100644 --- a/modules/gallery/views/error_404.html.php +++ b/modules/gallery/views/error_404.html.php @@ -12,10 +12,15 @@ <?= t("Please sign in to find out.") ?> </p> <?= $login_form ?> + <script type="text/javascript"> + $(document).ready(function() { + $("#g-username").focus(); + }); + </script> <? else: ?> <p> <?= t("Maybe the page exists, but is only visible to authorized users.") ?> <?= t("If you think this is an error, talk to your Gallery administrator!") ?> </p> <? endif; ?> -</div>
\ No newline at end of file +</div> |