diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-12 12:25:58 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-12 12:25:58 +0200 |
commit | e8767f75116ff7ef2b7a349480151c9f66bbade0 (patch) | |
tree | 5879fe01fa8113a299daaba4d2c6cfa84769a104 /js/app/services/bl/feedbl.coffee | |
parent | e9eaa93826c75097d95d21a556e1b1aae6610bcd (diff) |
implement clientside update requests, fix #27
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 4c9ff7c99..ead15fcd7 100644 --- a/js/app/services/bl/feedbl.coffee +++ b/js/app/services/bl/feedbl.coffee @@ -164,6 +164,12 @@ NewLoading, _ExistsError) -> @_feedModel.removeByUrlHash(urlHash) + updateFeeds: -> + for feed in @_feedModel.getAll() + if angular.isDefined(feed.id) + @_persistence.updateFeed(feed.id) + + return new FeedBl(ShowAll, FeedModel, Persistence, ActiveFeed, FeedType, ItemModel, NewLoading) |