confirm msg markdown support

This commit is contained in:
Yuri Kuznetsov
2020-03-13 11:52:22 +02:00
parent 1d9af232b9
commit af9e77a5bb
2 changed files with 5 additions and 0 deletions

View File

@@ -242,6 +242,10 @@ define('view', [], function () {
var message = o.message;
}
if (message) {
message = this.getHelper().transfromMarkdownText(message, {linksInNewTab: true}).toString();
}
var confirmText = o.confirmText || this.translate('Yes');
var confirmStyle = o.confirmStyle || null;
var cancelText = o.cancelText || this.translate('Cancel');

View File

@@ -2580,6 +2580,7 @@ table.table td.cell .complex-text {
}
.complex-text,
.confirm-message,
.popover-content {
h1:first-child,
h2:first-child,