1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-21 11:26:38 +02:00

disable submit button when login form is validated

This commit is contained in:
Andrew Dolgov 2007-11-21 18:43:55 +01:00
parent f0b3ae06d9
commit a0b9990ad4

View File

@ -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;
<label for="remember_me">Remember me on this computer</label>
</td></tr> -->
<tr><td colspan="2" align="right" class="innerLoginCell">
<input type="submit" class="button" value="<?php echo __('Login') ?>" name='click'>
<input type="submit" class="button" value="<?php echo __('Log in') ?>" name='click'>
<input type="hidden" name="action" value="login">
<input type="hidden" name="rt"
value="<?php if ($return_to != 'none') { echo $return_to; } ?>">