From: Andrew Dolgov Date: Wed, 12 Aug 2015 18:47:40 +0000 (+0300) Subject: feedtree: don't hide feeds with errors X-Git-Tag: 16.3~139 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9109e171ee57169c504f30e673c2990b2eb5ce4c;p=tt-rss.git feedtree: don't hide feeds with errors --- diff --git a/js/FeedTree.js b/js/FeedTree.js index a9a69187..c7c892b4 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -433,10 +433,11 @@ dojo.declare("fox.FeedTree", dijit.Tree, { var bare_id = parseInt(feed.bare_id);; var unread = feed.unread[0]; + var has_error = feed.error[0] != ''; var node = tree._itemNodesMap[id]; if (node) { - if (hide && unread == 0 && (bare_id > 0 || bare_id < _label_base_index || !show_special)) { + if (hide && unread == 0 && !has_error && (bare_id > 0 || bare_id < _label_base_index || !show_special)) { Effect.Fade(node[0].rowNode, {duration : 0.3, queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }}); } else {