feedtree: don't request null icon
This commit is contained in:
parent
5e6f0145c8
commit
89473cb5c6
|
@ -1851,6 +1851,8 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFeedTitle($link, $id, $cat = false) {
|
function getFeedTitle($link, $id, $cat = false) {
|
||||||
|
|
|
@ -100,7 +100,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
|
||||||
_createTreeNode: function(args) {
|
_createTreeNode: function(args) {
|
||||||
var tnode = new dijit._TreeNode(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];
|
tnode.iconNode.src = args.item.icon[0];
|
||||||
|
|
||||||
var id = args.item.id[0];
|
var id = args.item.id[0];
|
||||||
|
|
Loading…
Reference in New Issue