|
|
|
@ -1843,14 +1843,8 @@ validateStep["policy-profile"] = function () {
|
|
|
|
|
|
|
|
|
|
if (continueToCheckNextInputs) {
|
|
|
|
|
var calendarAccountPort = $("input#calendar-account-port").val();
|
|
|
|
|
if (!calendarAccountPort) {
|
|
|
|
|
validationStatus = {
|
|
|
|
|
"error": true,
|
|
|
|
|
"subErrorMsg": "Account Port is empty. You cannot proceed.",
|
|
|
|
|
"erroneousFeature": operation
|
|
|
|
|
};
|
|
|
|
|
continueToCheckNextInputs = false;
|
|
|
|
|
} else if (!$.isNumeric(calendarAccountPort)) {
|
|
|
|
|
if (calendarAccountPort) {
|
|
|
|
|
if (!$.isNumeric(calendarAccountPort)) {
|
|
|
|
|
validationStatus = {
|
|
|
|
|
"error": true,
|
|
|
|
|
"subErrorMsg": "Account Port requires a number input.",
|
|
|
|
@ -1867,6 +1861,7 @@ validateStep["policy-profile"] = function () {
|
|
|
|
|
continueToCheckNextInputs = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// at-last, if the value of continueToCheckNextInputs is still true
|
|
|
|
|
// this means that no error is found
|
|
|
|
|