From f952cd2ed8feac12e3816655591c605bcfa701c2 Mon Sep 17 00:00:00 2001 From: Andy Panayiotou <52083315+andyp-uk@users.noreply.github.com> Date: Mon, 21 Mar 2022 11:04:56 +0000 Subject: [PATCH] Update externalLoginSubmitForm.js In Usage Statistics, the getLoginForm will not open. Fix originally proposed under https://github.com/coral-erm/coral/pull/678 --- usage/js/forms/externalLoginSubmitForm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usage/js/forms/externalLoginSubmitForm.js b/usage/js/forms/externalLoginSubmitForm.js index 6fd8c3529..b08ab9924 100755 --- a/usage/js/forms/externalLoginSubmitForm.js +++ b/usage/js/forms/externalLoginSubmitForm.js @@ -51,11 +51,11 @@ function validateExternalLogin() { if($("#username").val() == ''){ - $("#span_errors").html('
' + _('Please enter a username to continue'); + $("#span_errors").html('
' + _('Please enter a username to continue')); $("#username").focus(); return false; }else if($("#password").val() == ''){ - $("#span_errors").html('
' + _('For security, please enter a password'); + $("#span_errors").html('
' + _('For security, please enter a password')); $("#password").focus(); return false; }else{