show errors in feedtree's tooltips

This commit is contained in:
Gilles Grandou 2018-12-10 11:38:59 +01:00
parent 7915706946
commit df05794032
1 changed files with 1 additions and 4 deletions

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";