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

Merge branch 'tree_tooltip_error' of ggrandou/tt-rss into master

This commit is contained in:
fox
2018-12-10 12:07:54 +00:00
committed by Gogs

View File

@@ -168,10 +168,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
},
getTooltip: function (item) {
if (item.updated)
return item.updated;
else
return "";
return [item.updated, item.error].filter(x => x && x != "").join(" - ");
},
getIconClass: function (item, opened) {
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "feed-icon";