feedtree: prevent hideReadFeeds from working on category nodes

master
Andrew Dolgov 12 years ago
parent d2088ee6d5
commit 6cdc457643

@ -298,6 +298,8 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
items.each(function(feed) {
var id = String(feed.id);
if (!id.match("^CAT:")) {
var bare_id = parseInt(feed.bare_id);;
var unread = feed.unread[0];
@ -312,6 +314,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
++cat_unread;
}
}
}
});
return cat_unread;

Loading…
Cancel
Save