This commit is contained in:
yuri
2019-02-08 17:21:54 +02:00
parent 983988c9e1
commit c671e47a5d
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -120,7 +120,9 @@ Espo.define('views/dashlets/options/base', ['views/modal', 'views/record/detail'
}
});
this.header = this.getLanguage().translate('Dashlet Options') + ': ' + this.getLanguage().translate(this.name, 'dashlets');
this.header =
this.getLanguage().translate('Dashlet Options') + ': ' +
Handlebars.Utils.escapeExpression(this.getLanguage().translate(this.name, 'dashlets'));
},
setupBeforeFinal: function () {},
+1 -1
View File
@@ -41,7 +41,7 @@ Espo.define('views/email/modals/body-plain', 'views/modal', function (Dep) {
'label': 'Close'
});
this.header = this.model.get('name');
this.header = Handlebars.Utils.escapeExpression(this.model.get('name'));
this.createView('bodyPlain', 'views/fields/text', {
el: this.options.el + ' .field[data-name="bodyPlain"]',