mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
remove category dragging for now
This commit is contained in:
@@ -399,6 +399,9 @@ module.directive('droppable', [ 'CategoryService', 'FeedService', function(Categ
|
|||||||
if (source.children) {
|
if (source.children) {
|
||||||
// source is a category
|
// source is a category
|
||||||
|
|
||||||
|
/*
|
||||||
|
* TODO better handling of category dragging
|
||||||
|
*
|
||||||
if (target.children) {
|
if (target.children) {
|
||||||
// target is a category
|
// target is a category
|
||||||
data.parentId = target.id;
|
data.parentId = target.id;
|
||||||
@@ -411,6 +414,7 @@ module.directive('droppable', [ 'CategoryService', 'FeedService', function(Categ
|
|||||||
CategoryService.modify(data, function() {
|
CategoryService.modify(data, function() {
|
||||||
CategoryService.init();
|
CategoryService.init();
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
} else {
|
} else {
|
||||||
// source is a feed
|
// source is a feed
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<li>
|
<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="dropdown pull-right">
|
||||||
<div class="pull-right" ng-click="showCategoryDetails(node)">
|
<div class="pull-right" ng-click="showCategoryDetails(node)">
|
||||||
<i class="icon-wrench config pointer"></i>
|
<i class="icon-wrench config pointer"></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user