mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
wro4j update
This commit is contained in:
6
pom.xml
6
pom.xml
@@ -334,7 +334,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ro.isdc.wro4j</groupId>
|
<groupId>ro.isdc.wro4j</groupId>
|
||||||
<artifactId>wro4j-extensions</artifactId>
|
<artifactId>wro4j-extensions</artifactId>
|
||||||
<version>1.6.3</version>
|
<version>1.7.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@@ -380,7 +380,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>ro.isdc.wro4j</groupId>
|
<groupId>ro.isdc.wro4j</groupId>
|
||||||
<artifactId>wro4j-maven-plugin</artifactId>
|
<artifactId>wro4j-maven-plugin</artifactId>
|
||||||
<version>1.6.3</version>
|
<version>1.7.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>js</id>
|
<id>js</id>
|
||||||
@@ -517,7 +517,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>ro.isdc.wro4j</groupId>
|
<groupId>ro.isdc.wro4j</groupId>
|
||||||
<artifactId>wro4j-maven-plugin</artifactId>
|
<artifactId>wro4j-maven-plugin</artifactId>
|
||||||
<version>1.6.3</version>
|
<version>1.7.0</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
|
|||||||
@@ -614,8 +614,7 @@ function($scope, $state, $filter, $timeout, CategoryService) {
|
|||||||
$state.transitionTo('feeds.view', {
|
$state.transitionTo('feeds.view', {
|
||||||
_type : 'feed',
|
_type : 'feed',
|
||||||
_id : id
|
_id : id
|
||||||
}
|
});
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.open = function() {
|
$scope.open = function() {
|
||||||
|
|||||||
@@ -316,7 +316,8 @@ module.directive('category', [ function() {
|
|||||||
collapse : !category.expanded
|
collapse : !category.expanded
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
} ]
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
} ]);
|
} ]);
|
||||||
|
|
||||||
@@ -373,7 +374,8 @@ module.directive('draggable', function() {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
module.directive('droppable', [ 'CategoryService', 'FeedService', function(CategoryService, FeedService) {
|
module.directive('droppable', [ 'CategoryService', 'FeedService',
|
||||||
|
function(CategoryService, FeedService) {
|
||||||
return {
|
return {
|
||||||
restrict : 'A',
|
restrict : 'A',
|
||||||
link : function(scope, element, attrs) {
|
link : function(scope, element, attrs) {
|
||||||
@@ -400,22 +402,6 @@ 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) {
|
|
||||||
// target is a category
|
|
||||||
data.parentId = target.id;
|
|
||||||
data.position = 0;
|
|
||||||
} else {
|
|
||||||
// target is a feed
|
|
||||||
data.parentId = target.categoryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
CategoryService.modify(data, function() {
|
|
||||||
CategoryService.init();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
} else {
|
} else {
|
||||||
// source is a feed
|
// source is a feed
|
||||||
|
|
||||||
@@ -433,7 +419,6 @@ module.directive('droppable', [ 'CategoryService', 'FeedService', function(Categ
|
|||||||
CategoryService.init();
|
CategoryService.init();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user