This treeSync code doesn't work and I don't know why

This commit is contained in:
Mads Rasmussen
2018-08-03 11:17:48 +02:00
parent 18e0eda7d3
commit 41f5d7d113
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@
contentResource.sort(args)
.then(function(){
// navigationService.syncTree({ tree: "content", path: $scope.currentNode.path, forceReload: true, activate: false });
navigationService.syncTree({ tree: "content", path: $scope.currentNode.path, forceReload: true, activate: false });
vm.saveButtonState = "success";
}, function(error) {
vm.error = error;

View File

@@ -47,7 +47,7 @@
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, activate: false });
vm.saveButtonState = "success";
}, function(error) {
vm.error = error;