diff options
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r-- | js/controller/NavigationController.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index 5f76eaddb..af2e3ac76 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -281,6 +281,11 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, FolderResource.delete(folder.name); }; + this.setOrdering = function (feed, ordering) { + FeedResource.setOrdering(feed.id, ordering); + $route.reload(); + }; + var self = this; $rootScope.$on('moveFeedToFolder', function (scope, data) { |