forked from Archives/Athou_commafeed
remove category dragging for now
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<li>
|
||||
<div class="pointer tree-item" ui-if="showLabel" ng-class="getClass(level - 1)" draggable="node" droppable="node">
|
||||
<div class="pointer tree-item" ui-if="showLabel" ng-class="getClass(level - 1)" droppable="node">
|
||||
<div class="dropdown pull-right">
|
||||
<div class="pull-right" ng-click="showCategoryDetails(node)">
|
||||
<i class="icon-wrench config pointer"></i>
|
||||
|
||||
Reference in New Issue
Block a user