feedtree: prevent hideReadFeeds from working on category nodes

This commit is contained in:
Andrew Dolgov 2012-09-15 20:39:44 +04:00
parent d2088ee6d5
commit 6cdc457643
1 changed files with 13 additions and 10 deletions

View File

@ -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;