mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
view: implement a hack to fake counter updates for current feed and its parent
This commit is contained in:
@@ -433,5 +433,14 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
||||
}
|
||||
|
||||
},
|
||||
getFeedCategory: function(feed) {
|
||||
try {
|
||||
return this.getNodesByItem(this.model.store.
|
||||
_itemsByIdentity["FEED:" + feed])[0].
|
||||
getParent().item.bare_id[0];
|
||||
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user