From fbf25ca208265ed0b2a39aa29a198e2ca180eeeb Mon Sep 17 00:00:00 2001 From: Mark Sapiro <msapiro@value.net> Date: Sat, 24 Mar 2012 18:23:57 -0700 Subject: Added javascript to the private.html and admlogin.html templates to focus the cursor on the entry field. (LP: #266054) --- templates/es/private.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/es/private.html') diff --git a/templates/es/private.html b/templates/es/private.html index 1e1cf572..a454663d 100644 --- a/templates/es/private.html +++ b/templates/es/private.html @@ -1,9 +1,10 @@ <html> <head> <title>Autentificación para los archivos 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> -- cgit v1.2.3