feedtree: do not hide special category for reals if configured as such

This commit is contained in:
Andrew Dolgov 2015-03-06 14:42:05 +03:00
parent 168cf351e2
commit 40f147df79
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
if (node) { if (node) {
var check_unread = tree.model.getFeedUnread(bare_id, true); var check_unread = tree.model.getFeedUnread(bare_id, true);
if (hide && cat_unread == 0 && check_unread == 0) { if (hide && cat_unread == 0 && check_unread == 0 && (id != "CAT:-1" || !show_special)) {
Effect.Fade(node[0].rowNode, {duration : 0.3, Effect.Fade(node[0].rowNode, {duration : 0.3,
queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }}); queue: { position: 'end', scope: 'FFADE-' + id, limit: 1 }});
} else { } else {