show errors in feedtree's tooltips
This commit is contained in:
parent
7915706946
commit
df05794032
|
@ -168,10 +168,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
|
||||||
|
|
||||||
},
|
},
|
||||||
getTooltip: function (item) {
|
getTooltip: function (item) {
|
||||||
if (item.updated)
|
return [item.updated, item.error].filter(x => x && x != "").join(" - ");
|
||||||
return item.updated;
|
|
||||||
else
|
|
||||||
return "";
|
|
||||||
},
|
},
|
||||||
getIconClass: function (item, opened) {
|
getIconClass: function (item, opened) {
|
||||||
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "feed-icon";
|
return (!item || this.model.mayHaveChildren(item)) ? (opened ? "dijitFolderOpened" : "dijitFolderClosed") : "feed-icon";
|
||||||
|
|
Loading…
Reference in New Issue