From: Carsten K. <car...@us...> - 2002-02-14 19:08:20
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory usw-pr-cvs1:/tmp/cvs-serv23361 Modified Files: login.tmpl Log Message: use focus() for form <input> elements, select() is for <option> elements Index: login.tmpl =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/default/templates/login.tmpl,v retrieving revision 1.13 retrieving revision 1.14 diff -u -b -I^#: -d -r1.13 -r1.14 --- login.tmpl 14 Feb 2002 03:29:55 -0000 1.13 +++ login.tmpl 14 Feb 2002 19:08:14 -0000 1.14 @@ -43,7 +43,7 @@ var elements = document.forms['login'].elements; for (var i = 0; i < elements.length; i++) { if (elements[i].type == type) { - elements[i].select(); + elements[i].focus(); return; } } |