Fix Bug 63069

This commit is contained in:
Julia Radzhabova
2023-07-03 15:36:13 +03:00
parent 99db8ec686
commit b2e48c84af
2 changed files with 1 additions and 4 deletions

View File

@ -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>'

View File

@ -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 },