#12617 Add contentForm Dirty reset on successful save for members and media

This commit is contained in:
Migaroez
2022-07-21 14:21:28 +02:00
committed by Michael Latouche
parent 4b557464c6
commit b531fccd36
2 changed files with 3 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ function mediaEditController($scope, $routeParams, $location, $http, $q, appStat
editorState.set($scope.content);
bindEvents();
$scope.contentForm.$dirty = false;
}
function bindEvents() {

View File

@@ -122,6 +122,8 @@ function MemberEditController($scope, $routeParams, $location, $http, $q, appSta
editorState.set($scope.content);
bindEvents();
$scope.contentForm.$dirty = false;
}
function bindEvents() {