summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-03 10:25:35 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-03 10:41:14 +0200
commit081704721afb986ec971aa29e22a03419f8393cc (patch)
tree3f4415f39a244378dc9196c670dafa4d436bbc8e /js
parent29dd5274f918450a98047b12f974fdbf7720df9c (diff)
also update folders periodically
Diffstat (limited to 'js')
-rw-r--r--js/app/app.coffee1
-rw-r--r--js/public/app.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/js/app/app.coffee b/js/app/app.coffee
index 03497348d..00218728d 100644
--- a/js/app/app.coffee
+++ b/js/app/app.coffee
@@ -40,6 +40,7 @@ angular.module('News').run ['Persistence', 'Config',
setInterval ->
Persistence.getAllFeeds()
+ Persistence.getAllFolders()
, Config.feedUpdateInterval
]
diff --git a/js/public/app.js b/js/public/app.js
index 86aa989db..546044de7 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -51,7 +51,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
'Persistence', 'Config', function(Persistence, Config) {
Persistence.init();
return setInterval(function() {
- return Persistence.getAllFeeds();
+ Persistence.getAllFeeds();
+ return Persistence.getAllFolders();
}, Config.feedUpdateInterval);
}
]);