From 0843badb15f496fdc5f207c0b6e05cd3670be2c0 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 5 Nov 2018 10:40:38 +0100 Subject: [PATCH] reload nodes after publish/unpublish --- .../src/views/propertyeditors/listview/listview.controller.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js index 8d5adde5b2..4a32cc0df9 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js @@ -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); }); }