From: Robin Appelman Date: Wed, 16 May 2012 23:17:44 +0000 (+0200) Subject: only check our own input fields when determining to show the login button X-Git-Tag: v4.0.0RC2~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58adeaa80a65cb307736eb8f0040ea18b468e419;p=nextcloud-server.git only check our own input fields when determining to show the login button fixes a problem with browser plugins adding hidden inputs --- diff --git a/core/js/js.js b/core/js/js.js index 90f1207780d..89a20a529f3 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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; }