diff --git a/JavaScriptApps/resources/IndividualLendingCode-1.0.js b/JavaScriptApps/resources/IndividualLendingCode-1.0.js index 94e9daf82..a056bc405 100644 --- a/JavaScriptApps/resources/IndividualLendingCode-1.0.js +++ b/JavaScriptApps/resources/IndividualLendingCode-1.0.js @@ -8,6 +8,10 @@ formErrorFunction = function(jqXHR, textStatus, errorThrown) { handleXhrError(jqXHR, textStatus, errorThrown, "#formErrorsTemplate", "#formerrors"); }; + + + + function executeAjaxRequest(url, verbType, jsonData, successFunction, errorFunction) { var jqxhr = $.ajax({ @@ -26,19 +30,6 @@ function executeAjaxRequest(url, verbType, jsonData, successFunction, errorFunct } -highlightMissingXlations = "Y"; -function doI18N(xlateStr, params) { - if (highlightMissingXlations == "Y") return jQuery.i18n.prop(xlateStr, params) - else - { - var xlated = jQuery.i18n.prop(xlateStr, params); - if (xlated.substr(0,1) == "[" && xlated.substr(xlated.length - 1, 1) == "]") return xlated.substr(1, xlated.length - 2) - else return xlated; - } -} - - - // load html functions function showMainContainer(containerDivName, username) { @@ -81,7 +72,6 @@ function showMainContainer(containerDivName, username) { } - function showILLogon(logonDivName) { var htmlVar = '
