From 36ad80b7f60047e44aab3974a9f1e370bb9516e8 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 18 Nov 2014 20:37:22 +0100 Subject: comment --- js/app/Run.js | 2 ++ js/build/app.js | 2 ++ 2 files changed, 4 insertions(+) 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); }); -- cgit v1.2.3