#12617 Add contentForm Dirty reset on successful save for members and media
This commit is contained in:
committed by
Michael Latouche
parent
4b557464c6
commit
b531fccd36
@@ -110,6 +110,7 @@ function mediaEditController($scope, $routeParams, $location, $http, $q, appStat
|
||||
editorState.set($scope.content);
|
||||
|
||||
bindEvents();
|
||||
$scope.contentForm.$dirty = false;
|
||||
}
|
||||
|
||||
function bindEvents() {
|
||||
|
||||
@@ -122,6 +122,8 @@ function MemberEditController($scope, $routeParams, $location, $http, $q, appSta
|
||||
editorState.set($scope.content);
|
||||
|
||||
bindEvents();
|
||||
|
||||
$scope.contentForm.$dirty = false;
|
||||
}
|
||||
|
||||
function bindEvents() {
|
||||
|
||||
Reference in New Issue
Block a user