avoid breaking change of serverValidationManager.getPropertyError()

This commit is contained in:
Niels Lyngsø
2020-04-28 11:09:46 +02:00
parent 6a5a338d7c
commit 370981e214
@@ -71,7 +71,7 @@ function valPropertyMsg(serverValidationManager, localizationService) {
//this can be null if no property was assigned
if (scope.currentProperty) {
//first try to get the error msg from the server collection
var err = serverValidationManager.getPropertyError(scope.currentProperty.alias, null, null, "");
var err = serverValidationManager.getPropertyError(scope.currentProperty.alias, null, "", null);
//if there's an error message use it
if (err && err.errorMsg) {
return err.errorMsg;