summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-18 20:37:22 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-18 20:37:22 +0100
commit36ad80b7f60047e44aab3974a9f1e370bb9516e8 (patch)
tree1dc3b37ac7dce3c924a2336283ef5601b96329ba
parent69448125739583c6aa6babc992db8c05bc122e5b (diff)
comment
-rw-r--r--js/app/Run.js2
-rw-r--r--js/build/app.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/js/app/Run.js b/js/app/Run.js
index d12bea6c7..9f4cc24ad 100644
--- a/js/app/Run.js
+++ b/js/app/Run.js
@@ -78,6 +78,8 @@ app.run(function ($rootScope, $location, $http, $q, $interval, Loading,
feedDeferred.promise,
folderDeferred.promise
]).then(function () {
+ // first publish feeds to correctly update the folder resource unread
+ // cache
Publisher.publishAll(feeds);
Publisher.publishAll(folders);
});
diff --git a/js/build/app.js b/js/build/app.js
index c22a2dba7..9e4e3c52f 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -174,6 +174,8 @@ app.run(["$rootScope", "$location", "$http", "$q", "$interval", "Loading", "Item
feedDeferred.promise,
folderDeferred.promise
]).then(function () {
+ // first publish feeds to correctly update the folder resource unread
+ // cache
Publisher.publishAll(feeds);
Publisher.publishAll(folders);
});