add tooltip
This commit is contained in:
parent
82076ce531
commit
69970d5b88
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue