From ca812aa3105b73b795a38e7fb4bae188627c21bb Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 27 Jan 2002 23:04:11 +0000 Subject: [PATCH] bug 509318 --- ChangeLog | 4 ++++ libraries/auth/cookie.auth.lib.php3 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 751b0c100..eedf02e0d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-01-27 Marc Delisle + * libraries/auth/cookie.auth.lib.php3 fix, wrong focus when using + cookies for the first time, thanks to dphanton at users.sf.net + 2002-01-26 Loïc Chapeaux * lang/chinese_big5.inc.php3, russian-*.inc.php3: updated thanks to Siu Sun and diff --git a/libraries/auth/cookie.auth.lib.php3 b/libraries/auth/cookie.auth.lib.php3 index cb901a34e..ca32de7d0 100644 --- a/libraries/auth/cookie.auth.lib.php3 +++ b/libraries/auth/cookie.auth.lib.php3 @@ -214,7 +214,7 @@ h1 {font-family: ; font-size: var uname = document.forms['login_form'].elements['pma_username']; -var uname = document.forms['login_form'].elements['pma_password']; +var pword = document.forms['login_form'].elements['pma_password']; if (uname.value == '') { uname.focus(); } else {