remove category dragging for now

This commit is contained in:
Athou
2013-06-04 07:16:48 +02:00
parent 48fddc5ed1
commit 6f35491ec6
2 changed files with 6 additions and 2 deletions

View File

@@ -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