feedtree: don't request null icon

This commit is contained in:
Andrew Dolgov 2013-04-17 09:09:51 +04:00
parent 5e6f0145c8
commit 89473cb5c6
2 changed files with 3 additions and 1 deletions

View File

@ -1851,6 +1851,8 @@
}
break;
}
return false;
}
function getFeedTitle($link, $id, $cat = false) {

View File

@ -100,7 +100,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
_createTreeNode: function(args) {
var tnode = new dijit._TreeNode(args);
if (args.item.icon)
if (args.item.icon && args.item.icon[0])
tnode.iconNode.src = args.item.icon[0];
var id = args.item.id[0];