fix(report_view): link_title should be rendered as plain text
This commit is contained in:
parent
242e7b55ca
commit
72b199fbce
1 changed files with 2 additions and 2 deletions
|
|
@ -162,8 +162,8 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
||||||
|
|
||||||
// update visible DOM elements and cell tooltip
|
// update visible DOM elements and cell tooltip
|
||||||
document.querySelectorAll(`a[data-name="${key}"]`).forEach((el) => {
|
document.querySelectorAll(`a[data-name="${key}"]`).forEach((el) => {
|
||||||
if (el.innerHTML === link_title) return;
|
if (el.textContent === link_title) return;
|
||||||
el.innerHTML = link_title;
|
el.textContent = link_title;
|
||||||
|
|
||||||
$(el).closest(".dt-cell__content").attr("title", link_title);
|
$(el).closest(".dt-cell__content").attr("title", link_title);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue