mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
refresh category tree when a category is removed
This commit is contained in:
@@ -91,7 +91,9 @@ function($scope, FeedService, CategoryService) {
|
||||
};
|
||||
|
||||
$scope.saveCategory = function() {
|
||||
CategoryService.add($scope.cat);
|
||||
CategoryService.add($scope.cat, function() {
|
||||
CategoryService.init();
|
||||
});
|
||||
$scope.closeCategory();
|
||||
};
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user