another tweak to property level validation

This commit is contained in:
Shannon
2013-06-25 22:53:59 +10:00
parent d290ea81a2
commit 43972a66c2

View File

@@ -62,7 +62,7 @@ function valPropertyMsg(angularHelper, serverValidationService) {
if (hasError && scope.errorMsg === "") {
scope.errorMsg = serverValidationService.getError(currentProperty, "");
}
else {
else if (!hasError) {
scope.errorMsg = "";
}
});