Skip to content

Commit

Permalink
Always change save button state on error
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Apr 3, 2021
1 parent c065a7f commit e0fcfbb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,10 @@
submit();
}


}, function (err) {
if (suppressNotification) {
vm.page.saveButtonState = "error";
vm.page.saveButtonState = "error";

if (suppressNotification) {
localizationService.localizeMany(["speechBubbles_validationFailedHeader", "speechBubbles_validationFailedMessage"]).then(function (data) {
var header = data[0];
var message = data[1];
Expand Down

0 comments on commit e0fcfbb

Please sign in to comment.