From 6f35491ec6a85e76235fdb284932f911163e2b9c Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 4 Jun 2013 07:16:48 +0200 Subject: [PATCH] remove category dragging for now --- src/main/webapp/js/directives.js | 6 +++++- src/main/webapp/templates/_category.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 @@
  • -
    +