mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 03:55:56 +00:00
feedtree, check for _itemsByIdentity being filled in getNextUnreadFeed
This commit is contained in:
@@ -53,6 +53,9 @@ dojo.declare("fox.FeedStoreModel", dijit.tree.ForestStoreModel, {
|
||||
return this.store.setValue(treeItem, key, value);
|
||||
},
|
||||
getNextUnreadFeed: function (feed, is_cat) {
|
||||
if (!this.store._itemsByIdentity)
|
||||
return null;
|
||||
|
||||
if (is_cat) {
|
||||
treeItem = this.store._itemsByIdentity['CAT:' + feed];
|
||||
items = this.store._arrayOfTopLevelItems;
|
||||
|
||||
Reference in New Issue
Block a user