From a0b9990ad420e4cf651dbdcd590a09785b279e0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Nov 2007 18:43:55 +0100 Subject: [PATCH] disable submit button when login form is validated --- login_form.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/login_form.php b/login_form.php index 5854078e..090d53e9 100644 --- a/login_form.php +++ b/login_form.php @@ -50,6 +50,8 @@ function validateLoginForm(f) { return false; } + document.forms['loginForm']['click'].disabled = true; + return true; } catch (e) { exception_error("validateLoginForm", e); @@ -97,7 +99,7 @@ window.onload = init; --> - + -- 2.39.5