mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
make sure the user owns the modified data
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<li>
|
||||
<div ng-mouseenter="hovered=node" ng-mouseleave="hovered=null" class="pointer">
|
||||
<div ng-mouseenter="hovered=node && node.id != 'all'" ng-mouseleave="hovered=null" class="pointer">
|
||||
<div class="dropdown pull-right">
|
||||
<a dropdown-toggle class="pull-right">
|
||||
<i ng-show="hovered==node" class="icon icon-chevron-down"></i>
|
||||
|
||||
@@ -149,6 +149,8 @@ module.directive('category', function($compile) {
|
||||
if (result == 'ok') {
|
||||
SubscriptionService.deleteCategory({
|
||||
id : category.id
|
||||
}, function() {
|
||||
SubscriptionService.init();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user