diff options
-rw-r--r-- | js/app/Run.js | 2 | ||||
-rw-r--r-- | js/build/app.js | 2 |
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); }); |