only check our own input fields when determining to show the login button
fixes a problem with browser plugins adding hidden inputs
This commit is contained in:
parent
aac9629e88
commit
58adeaa80a
|
@ -406,9 +406,9 @@ $(document).ready(function(){
|
|||
$('#submit').hide();
|
||||
$('#remember_login').hide();
|
||||
$('#remember_login+label').hide();
|
||||
$('#body-login input').keyup(function() {
|
||||
$('input#user, input#password').keyup(function() {
|
||||
var empty = false;
|
||||
$('#body-login input').each(function() {
|
||||
$('input#user, input#password').each(function() {
|
||||
if ($(this).val() == '') {
|
||||
empty = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue