mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 09:34:29 +08:00
[DE] fix bug 63067
This commit is contained in:
@ -431,9 +431,10 @@ define([
|
||||
|
||||
if (this.btnInsField.menu.items.length<1) {
|
||||
_.each(this._state.fieldsList, function(field, index) {
|
||||
const _encoded_field = Common.Utils.String.htmlEncode(field);
|
||||
var mnu = new Common.UI.MenuItem({
|
||||
caption: '«' + field + '»',
|
||||
field: field
|
||||
caption: '«' + _encoded_field + '»',
|
||||
field: _encoded_field
|
||||
}).on('click', function(item, e) {
|
||||
if (me.api) {
|
||||
me.api.asc_AddMailMergeField(item.options.field);
|
||||
|
||||
Reference in New Issue
Block a user