1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:35:55 +00:00

add tooltip

This commit is contained in:
Andrew Dolgov
2013-05-07 15:50:53 +04:00
parent 82076ce531
commit 69970d5b88

View File

@@ -193,6 +193,12 @@ dojo.declare("fox.FeedTree", dijit.Tree, {
//tnode.labelNode.innerHTML = args.label;
return tnode;
},
getTooltip: function (item) {
if (item.updated)
return item.updated;
else
return "";
},
getIconClass: function (item, opened) {
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "feedIcon";
},