Fixes tree sync with sorting media
This commit is contained in:
@@ -48,7 +48,9 @@
|
||||
|
||||
mediaResource.sort(args)
|
||||
.then(function(){
|
||||
navigationService.syncTree({ tree: "media", path: $scope.currentNode.path, forceReload: true, activate: false });
|
||||
navigationService.syncTree({ tree: "media", path: $scope.currentNode.path, forceReload: true })
|
||||
.then(() => navigationService.reloadNode($scope.currentNode));
|
||||
|
||||
vm.saveButtonState = "success";
|
||||
}, function(error) {
|
||||
vm.error = error;
|
||||
@@ -84,4 +86,4 @@
|
||||
}
|
||||
|
||||
angular.module("umbraco").controller("Umbraco.Editors.Media.SortController", MediaSortController);
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user