diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/validation/valserver.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/validation/valserver.directive.js index 84542bf184..6ad8ff1e9b 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/validation/valserver.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/validation/valserver.directive.js @@ -78,8 +78,7 @@ function valServer(serverValidationManager) { if (modelCtrl.$invalid) { modelCtrl.$setValidity('valServer', true); - console.log("valServer cleared (watch) " + propertyValidationPath); - + //clear the server validation entry serverValidationManager.removePropertyError(propertyValidationPath, currentCulture, fieldName, currentSegment); @@ -100,14 +99,12 @@ function valServer(serverValidationManager) { function serverValidationManagerCallback(isValid, propertyErrors, allErrors) { if (!isValid) { modelCtrl.$setValidity('valServer', false); - console.log("valServer error " + propertyValidationPath); //assign an error msg property to the current validator modelCtrl.errorMsg = propertyErrors[0].errorMsg; startWatch(); } else { modelCtrl.$setValidity('valServer', true); - console.log("valServer cleared " + propertyValidationPath); //reset the error message modelCtrl.errorMsg = ""; stopWatch(); diff --git a/src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js b/src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js index 8b900bc6ea..657c4e75fe 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js @@ -53,16 +53,10 @@ function serverValidationManager($timeout) { */ function notify() { - console.log("NOTIFY!"); - $timeout(function () { - - console.log(`VAL-ERROR-COUNT: ${items.length}`); for (var i = 0; i < items.length; i++) { var item = items[i]; - console.log(`VAL-ERROR [${item.propertyAlias}] [${item.culture}] [${item.fieldName}] [${item.segment}]`) } - notifyCallbacks(); }); } @@ -578,8 +572,6 @@ function serverValidationManager($timeout) { return; } - console.log(`serverValidationMgr subscribe [${propertyAlias}] [${culture}] [${fieldName}] [${segment}]`); - var id = String.CreateGuid(); //normalize culture to "invariant"