Clear error messages before submitting login request
Clear error messages before submitting login request

--- a/js/modules/loginpopup.js
+++ b/js/modules/loginpopup.js
@@ -50,6 +50,7 @@
               errorContainer.text(resources.PasswordIsRequired);
               return false;
             }
+            errorContainer.text('');
             var inputs = $('input', this);
             $.ajax({
               url: url + '?a=login&o=js',

comments