diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-08 15:23:06 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-08 15:23:06 +0200 |
commit | e6d926de620a470a487010f02b47e3932512db93 (patch) | |
tree | 36811b84a47fb74e8bda708c4bdacbc7d5e110c5 /js/app/services/bl/feedbl.coffee | |
parent | e2381ea22cfd3fc1ab6b6c8e472740005ad02f87 (diff) |
add link to feed which gets opened when clicked on the subheading of an item
Diffstat (limited to 'js/app/services/bl/feedbl.coffee')
-rw-r--r-- | js/app/services/bl/feedbl.coffee | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/app/services/bl/feedbl.coffee b/js/app/services/bl/feedbl.coffee index 77b3d81e2..b0928cccb 100644 --- a/js/app/services/bl/feedbl.coffee +++ b/js/app/services/bl/feedbl.coffee @@ -119,6 +119,12 @@ NewLoading) -> return @_feedModel.getAll() + getFeedLink: (feedId) -> + feed = @_feedModel.getById(feedId) + if angular.isDefined(feed) + return feed.link + + return new FeedBl(ShowAll, FeedModel, Persistence, ActiveFeed, FeedType, ItemModel, NewLoading) |