Merge pull request #2791 from ONLYOFFICE/fix/bugfix

Fix/bugfix
This commit is contained in:
Julia Radzhabova
2024-01-17 20:20:22 +03:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

@ -195,7 +195,7 @@ define([
itemTemplate: _.template([
'<div class="list-item" style="width: 100%;" id="chart-type-dlg-item-<%= seriesIndex %>">',
'<div class="series-color" id="chart-type-dlg-series-preview-<%= seriesIndex %>"></div>',
'<div class="series-value"><%= value %></div>',
'<div class="series-value"><%= Common.Utils.String.htmlEncode(value) %></div>',
'<div class="series-cmb"><div id="chart-type-dlg-cmb-series-<%= seriesIndex %>" class="input-group-nr" style=""></div></div>',
'<div class="series-chk"><div id="chart-type-dlg-chk-series-<%= seriesIndex %>" style=""></div></div>',
'</div>'

View File

@ -301,7 +301,7 @@ define(['common/main/lib/view/AdvancedSettingsWindow',
itemTemplate: _.template([
'<div class="list-item" style="width: 100%;" id="chart-recommend-item-<%= seriesIndex %>">',
'<div class="series-color" id="chart-recommend-series-preview-<%= seriesIndex %>"></div>',
'<div class="series-value" style="width: 125px;"><%= value %></div>',
'<div class="series-value" style="width: 125px;"><%= Common.Utils.String.htmlEncode(value) %></div>',
'<div class="series-cmb" style="width: 150px;"><div id="chart-recommend-cmb-series-<%= seriesIndex %>" class="input-group-nr" style=""></div></div>',
'<div class="series-chk"><div id="chart-recommend-chk-series-<%= seriesIndex %>" style=""></div></div>',
'</div>'

View File

@ -239,7 +239,7 @@ define([
el: $('#format-settings-list-code'),
store: new Common.UI.DataViewStore(),
tabindex: 1,
itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="pointer-events:none;overflow: hidden; text-overflow: ellipsis;"><%= value %></div>')
itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="pointer-events:none;overflow: hidden; text-overflow: ellipsis;"><%= Common.Utils.String.htmlEncode(value) %></div>')
});
this.codesList.on('item:select', _.bind(this.onCodeSelect, this));
this.codesList.on('entervalue', _.bind(this.onPrimary, this));

View File

@ -109,7 +109,7 @@ define([
store: new Common.UI.DataViewStore(),
tabindex: 1,
cls: 'dbl-clickable',
itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="overflow: hidden; text-overflow: ellipsis;"><%= value %></div>')
itemTemplate: _.template('<div id="<%= id %>" class="list-item" style="overflow: hidden; text-overflow: ellipsis;width:216px;"><%= Common.Utils.String.htmlEncode(value) %></div>')
});
this.macroList.on('item:dblclick', _.bind(this.onDblClickMacro, this));
this.macroList.on('entervalue', _.bind(this.onPrimary, this));

View File

@ -97,7 +97,7 @@ define([ 'text!spreadsheeteditor/main/app/template/WatchDialog.template',
'<div class="padding-right-5" style="width:70px;"><%= Common.Utils.String.htmlEncode(name) %></div>',
'<div class="padding-right-5" style="width:70px;"><%= cell %></div>',
'<div class="padding-right-5" style="width:110px;" data-toggle="tooltip"><%= Common.Utils.String.htmlEncode(value) %></div>',
'<div style="width:135px;" data-toggle="tooltip"><%= formula %></div>',
'<div style="width:135px;" data-toggle="tooltip"><%= Common.Utils.String.htmlEncode(formula) %></div>',
'</div>'
].join('')),
tabindex: 1