Merge pull request #5117 from kjac/v8-fix-listview-reload-after-move

V8: Reload listview after moving items
This commit is contained in:
Shannon Deminick
2019-04-03 10:44:00 +11:00
committed by GitHub

View File

@@ -583,6 +583,8 @@ function listViewController($scope, $routeParams, $injector, $timeout, currentUs
.then(function () {
//executes if all is successful, let's sync the tree
if (newPath) {
// reload the current view so the moved items are no longer shown
$scope.reloadView($scope.contentId);
//we need to do a double sync here: first refresh the node where the content was moved,
// then refresh the node where the content was moved from