N°4296 Correctly unescape dashboard title tooltip when switching dashboard

This commit is contained in:
Stephen Abello
2021-09-29 09:59:51 +02:00
parent 78b1ee04e8
commit 157c031236

View File

@@ -552,7 +552,7 @@ EOF
$oToolbar->AddHtml($sHtml);
} else {
$oPage->add_script(<<<JS
$(".ibo-top-bar--toolbar-dashboard-title").html("$sTitleForHTML").attr("title", "$sTitleForHTML");
$(".ibo-top-bar--toolbar-dashboard-title").html("$sTitleForHTML").attr("title", $('<div>').html("$sTitleForHTML").text());
JS
);
}