aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-08-02 12:42:33 +0100
committerStruan Donald <struan@exo.org.uk>2013-08-02 12:42:33 +0100
commit5be9d1a7eced90365da44784ae41fc15ac233b29 (patch)
tree1d5b76b97fddf8a94fe14cb79f7ce4ec5390ae43 /src
parentf415615bf0f46347e84b459d1cd52676a8aaeda0 (diff)
do not highlight the email field for general login errors
Diffstat (limited to 'src')
-rw-r--r--src/js/views/login.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/login.js b/src/js/views/login.js
index 96467b1..c0f16ba 100644
--- a/src/js/views/login.js
+++ b/src/js/views/login.js
@@ -43,11 +43,11 @@
that.$('#password_row').hide();
that.$('#success_row').show();
} else {
- that.validationError('form_email', FMS.strings.login_details_error);
+ that.validationError('signinForm', FMS.strings.login_details_error);
}
},
error: function() {
- that.validationError('form_email', FMS.strings.login_error);
+ that.validationError('signinForm', FMS.strings.login_error);
}
} );
}