Datatype delete controller

This commit is contained in:
perploug
2013-10-22 14:58:30 +02:00
parent 01c601f87e
commit b94f2aba70

View File

@@ -17,7 +17,7 @@ function DataTypeDeleteController($scope, dataTypeResource, treeService, navigat
//get the root node before we remove it
var rootNode = treeService.getTreeRoot($scope.currentNode);
//TODO: Need to sync tree, etc...
treeService.removeNode($scope.currentNode);
navigationService.hideMenu();