From 91e9f3cbf72924fe72828ca408dfcc563e530570 Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Sat, 7 Jul 2012 16:54:32 +1000 Subject: [PATCH] wip javascript --- JavaScriptApps/resources/IndividualLendingCode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } });