fix
This commit is contained in:
@@ -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 () {},
|
||||
|
||||
@@ -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"]',
|
||||
|
||||
Reference in New Issue
Block a user