replace css tree with an angular one, fix 100% cpu usage

This commit is contained in:
Athou
2013-04-10 13:12:01 +02:00
parent f442fb573a
commit 1fdfe54471
7 changed files with 34 additions and 142 deletions

View File

@@ -121,6 +121,7 @@ module.directive('category', function($compile) {
};
$scope.toggleCategory = function(category) {
category.expanded = !category.expanded;
SubscriptionService.collapse({
id : category.id,
collapse : !category.expanded