Skip to content

Commit

Permalink
Display name of used Page Template for every Content in the Details p…
Browse files Browse the repository at this point in the history
…anel #4916

Update tooltip creation.
  • Loading branch information
edloidas committed Jun 5, 2017
1 parent 35c9e1f commit 312cfc2
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -219,16 +219,16 @@ class Field {
if (this.content) {
const link = new api.dom.AEl();
link.setHtml(this.value);
if (this.tooltip) {
link.setTitle(this.tooltip);
}
link.onClicked(() => {
new EditContentEvent([ContentSummaryAndCompareStatus.fromContentSummary(this.content)]).fire();
});
definition.appendChild(link);
} else {
definition.setHtml(this.value);
}
if (this.tooltip) {
new Tooltip(definition, this.tooltip, 50);
}
parentEl.appendChildren(term, definition);
}
}

0 comments on commit 312cfc2

Please sign in to comment.