mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 11:19:45 +08:00
Fix Bug 63069
This commit is contained in:
@ -101,7 +101,7 @@ define([
|
||||
'</button>',
|
||||
'<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">',
|
||||
'<% _.each(items, function(item) { %>',
|
||||
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem"><%= scope.getDisplayValue(item) %></a></li>',
|
||||
'<li id="<%= item.id %>" data-value="<%- item.value %>"><a tabindex="-1" type="menuitem"><%= scope.getDisplayValue(item) %></a></li>',
|
||||
'<% }); %>',
|
||||
'</ul>',
|
||||
'</span>'
|
||||
|
||||
@ -118,9 +118,6 @@ define([
|
||||
Common.Utils.InternalSettings.set("de-settings-captions", arr);
|
||||
}
|
||||
arr = arr ? JSON.parse(arr) : [];
|
||||
arr.forEach(function (v, i) {
|
||||
arr[i].value = Common.Utils.String.htmlEncode(v.value);
|
||||
});
|
||||
|
||||
// 0 - not removable
|
||||
arr = arr.concat([{ value: 5, displayValue: this.textEquation },
|
||||
|
||||
Reference in New Issue
Block a user