From 69970d5b886c11309ea28d69e3939df8f520f7d2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 7 May 2013 15:50:53 +0400 Subject: [PATCH] add tooltip --- js/FeedTree.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/FeedTree.js b/js/FeedTree.js index 07c3002f..a3761ad2 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -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"; }, -- 2.39.5