diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index eedb54a8..d7d40525 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -91,7 +91,9 @@ function($scope, FeedService, CategoryService) { }; $scope.saveCategory = function() { - CategoryService.add($scope.cat); + CategoryService.add($scope.cat, function() { + CategoryService.init(); + }); $scope.closeCategory(); }; }]); diff --git a/src/main/webapp/templates/_subscribe.html b/src/main/webapp/templates/_subscribe.html index e95fa9f6..c8989b82 100644 --- a/src/main/webapp/templates/_subscribe.html +++ b/src/main/webapp/templates/_subscribe.html @@ -92,8 +92,8 @@