diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index ea5809a0..423156b7 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -398,7 +398,10 @@ module.directive('droppable', [ 'CategoryService', 'FeedService', function(Categ if (source.children) { // source is a category - + + /* + * TODO better handling of category dragging + * if (target.children) { // target is a category data.parentId = target.id; @@ -411,6 +414,7 @@ module.directive('droppable', [ 'CategoryService', 'FeedService', function(Categ CategoryService.modify(data, function() { CategoryService.init(); }); + */ } else { // source is a feed diff --git a/src/main/webapp/templates/_category.html b/src/main/webapp/templates/_category.html index d8056480..28f77f7a 100644 --- a/src/main/webapp/templates/_category.html +++ b/src/main/webapp/templates/_category.html @@ -1,5 +1,5 @@