From: Andrew Dolgov Date: Wed, 21 Nov 2007 17:43:55 +0000 (+0100) Subject: disable submit button when login form is validated X-Git-Tag: 1.2.18~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a0b9990ad420e4cf651dbdcd590a09785b279e0a;p=tt-rss.git disable submit button when login form is validated --- 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; --> - +