Skip to content

Commit

Permalink
Content.EditorDirectiveController: added formSubmittedValidationFaile…
Browse files Browse the repository at this point in the history
…d broadcast to prevent fields to stay disabled (#17018)
  • Loading branch information
Yinzy00 committed Sep 9, 2024
1 parent b16dfa9 commit 5fe18bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,8 +757,8 @@
formHelper.showNotifications(err.data);
clearNotifications($scope.content);

handleHttpException(err);
deferred.reject(err);
handleHttpException(err);
deferred.reject(err);
});
},
close: function () {
Expand Down Expand Up @@ -787,6 +787,7 @@
}, function (err) {
$scope.page.buttonGroupState = "error";
handleHttpException(err);
$scope.$broadcast("formSubmittedValidationFailed")
deferred.reject(err);
});
}
Expand Down

0 comments on commit 5fe18bb

Please sign in to comment.