From 43972a66c22dfe7f927054b7ca0a9d30a0a20458 Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 25 Jun 2013 22:53:59 +1000 Subject: [PATCH] another tweak to property level validation --- .../src/common/directives/valpropertymsg.directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/valpropertymsg.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/valpropertymsg.directive.js index 941985fcea..eddfc7a7c5 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/valpropertymsg.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/valpropertymsg.directive.js @@ -62,7 +62,7 @@ function valPropertyMsg(angularHelper, serverValidationService) { if (hasError && scope.errorMsg === "") { scope.errorMsg = serverValidationService.getError(currentProperty, ""); } - else { + else if (!hasError) { scope.errorMsg = ""; } });