reload nodes after publish/unpublish

This commit is contained in:
Mads Rasmussen
2018-11-05 10:40:38 +01:00
parent ababd45f4a
commit 0843badb15

View File

@@ -467,6 +467,8 @@ function listViewController($scope, $routeParams, $injector, $timeout, currentUs
function (total) {
var key = (total === 1 ? "bulk_publishedItem" : "bulk_publishedItems");
return localizationService.localize(key, [total]);
}).then(function(){
$scope.reloadView($scope.contentId);
});
}
@@ -521,6 +523,8 @@ function listViewController($scope, $routeParams, $injector, $timeout, currentUs
function (total) {
var key = (total === 1 ? "bulk_unpublishedItem" : "bulk_unpublishedItems");
return localizationService.localize(key, [total]);
}).then(function(){
$scope.reloadView($scope.contentId);
});
}