';
+ 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;
}
});