#3219 Validation error on templates when clicking "save"
Error with use of savebutton fixed, use the suppressNotification value to check state.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
fb277d80e7
commit
7a474c6fa4
@@ -91,15 +91,15 @@
|
||||
|
||||
|
||||
}, function (err) {
|
||||
if (suppressNotification) {
|
||||
vm.page.saveButtonState = "error";
|
||||
|
||||
vm.page.saveButtonState = "error";
|
||||
|
||||
localizationService.localizeMany(["speechBubbles_validationFailedHeader", "speechBubbles_validationFailedMessage"]).then(function(data){
|
||||
var header = data[0];
|
||||
var message = data[1];
|
||||
notificationsService.error(header, message);
|
||||
});
|
||||
|
||||
localizationService.localizeMany(["speechBubbles_validationFailedHeader", "speechBubbles_validationFailedMessage"]).then(function (data) {
|
||||
var header = data[0];
|
||||
var message = data[1];
|
||||
notificationsService.error(header, message);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user