diff options
author | Mark Sapiro <msapiro@value.net> | 2012-03-24 18:23:57 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2012-03-24 18:23:57 -0700 |
commit | fbf25ca208265ed0b2a39aa29a198e2ca180eeeb (patch) | |
tree | 4f0e44298e2b296f9efcecd35359a813e5597770 /templates/gl/private.html | |
parent | 279fc1d3953a2ab01934c71219d21ade7ebaff75 (diff) | |
download | mailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.tar.gz mailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.tar.xz mailman2-fbf25ca208265ed0b2a39aa29a198e2ca180eeeb.zip |
Added javascript to the private.html and admlogin.html templates to
focus the cursor on the entry field. (LP: #266054)
Diffstat (limited to 'templates/gl/private.html')
-rw-r--r-- | templates/gl/private.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/gl/private.html b/templates/gl/private.html index b48fed0a..2d2b3b85 100644 --- a/templates/gl/private.html +++ b/templates/gl/private.html @@ -1,9 +1,10 @@ <html> <head> <title>Autenticación para os ficheiros privados de %(realname)s </title> + <script>function sf(){document.f.username.focus();}</script> </head> -<body bgcolor="#ffffff"> -<FORM METHOD=POST ACTION="%(action)s/"> +<body bgcolor="#ffffff" onLoad="sf()"> +<FORM METHOD=POST ACTION="%(action)s/" name="f"> %(message)s <TABLE WIDTH="100%%" BORDER="0" CELLSPACING="4" CELLPADDING="5"> <TR> |