diff --git a/JavaScriptApps/resources/IndividualLendingCode.js b/JavaScriptApps/resources/IndividualLendingCode.js index 25bfe73a4..65651ac92 100644 --- a/JavaScriptApps/resources/IndividualLendingCode.js +++ b/JavaScriptApps/resources/IndividualLendingCode.js @@ -88,6 +88,7 @@ function showILLogon(logonDivName) { htmlVar += '' + doI18N("login.password") + ': '; htmlVar += ''; + htmlVar += '
'; $("#" + logonDivName).html(htmlVar); } @@ -114,8 +115,7 @@ function setBasicAuthKey(logonDivName, username, password) return false; }, error : function(jqXHR, textStatus, errorThrown) { - //actually should have more checking here, its not just invalid user/pwd that may get here - alert("Invalid Username/Password"); + handleXhrError(jqXHR, textStatus, errorThrown, "#formErrorsTemplate", "#formerrors"); return true; } });