mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 14:54:04 +08:00
[SSE] Fix bug 67614
This commit is contained in:
@ -265,15 +265,15 @@ define([
|
||||
this.cmbSearch.setValue(0);
|
||||
this.cmbLookIn.setValue(0);
|
||||
|
||||
var tableTemplate = '<div class="search-table">' +
|
||||
'<div class="header-items">' +
|
||||
'<div class="header-item">' + this.textSheet + '</div>' +
|
||||
'<div class="header-item">' + this.textName + '</div>' +
|
||||
'<div class="header-item">' + this.textCell + '</div>' +
|
||||
'<div class="header-item">' + this.textValue + '</div>' +
|
||||
'<div class="header-item">' + this.textFormula + '</div>' +
|
||||
'</div>' +
|
||||
'<div class="ps-container oo search-items"></div>' +
|
||||
var tableTemplate = '<div role="table" class="search-table" aria-label="' + this.textSearchResultsTable + '">' +
|
||||
'<div role="rowgroup"><div role="row" class="header-items">' +
|
||||
'<div role="columnheader" class="header-item">' + this.textSheet + '</div>' +
|
||||
'<div role="columnheader" class="header-item">' + this.textName + '</div>' +
|
||||
'<div role="columnheader" class="header-item">' + this.textCell + '</div>' +
|
||||
'<div role="columnheader" class="header-item">' + this.textValue + '</div>' +
|
||||
'<div role="columnheader" class="header-item">' + this.textFormula + '</div>' +
|
||||
'</div></div>' +
|
||||
'<div role="rowgroup" class="ps-container oo search-items"></div>' +
|
||||
'</div>',
|
||||
$resultTable = $(tableTemplate).appendTo(this.$resultsContainer);
|
||||
this.$resultsContainer.scroller = new Common.UI.Scroller({
|
||||
@ -488,7 +488,8 @@ define([
|
||||
textContentChanged: 'Document changed.',
|
||||
textSearchAgain: '{0}Perform new search{1} for accurate results.',
|
||||
textItemsSuccessfullyReplaced: '{0} items successfully replaced.',
|
||||
textPartOfItemsNotReplaced: '{0}/{1} items replaced. Remaining {2} items are locked by other users.'
|
||||
textPartOfItemsNotReplaced: '{0}/{1} items replaced. Remaining {2} items are locked by other users.',
|
||||
textSearchResultsTable: 'Search results'
|
||||
|
||||
}, Common.Views.SearchPanel || {}));
|
||||
});
|
||||
@ -454,12 +454,12 @@ define([
|
||||
me.resultItems = [];
|
||||
data.forEach(function (item, ind) {
|
||||
var isSelected = ind === me._state.currentResult;
|
||||
var tr = '<div class="item" style="width: 100%;">' +
|
||||
'<div class="sheet">' + (item[1] ? Common.Utils.String.htmlEncode(item[1]) : '') + '</div>' +
|
||||
'<div class="name">' + (item[2] ? Common.Utils.String.htmlEncode(item[2]) : '') + '</div>' +
|
||||
'<div class="cell">' + (item[3] ? Common.Utils.String.htmlEncode(item[3]) : '') + '</div>' +
|
||||
'<div class="value">' + (item[4] ? Common.Utils.String.htmlEncode(item[4]) : '') + '</div>' +
|
||||
'<div class="formula">' + (item[5] ? Common.Utils.String.htmlEncode(item[5]) : '') + '</div>' +
|
||||
var tr = '<div role="row" class="item" style="width: 100%;">' +
|
||||
'<div role="cell" class="sheet">' + (item[1] ? Common.Utils.String.htmlEncode(item[1]) : '') + '</div>' +
|
||||
'<div role="cell" class="name">' + (item[2] ? Common.Utils.String.htmlEncode(item[2]) : '') + '</div>' +
|
||||
'<div role="cell" class="cell">' + (item[3] ? Common.Utils.String.htmlEncode(item[3]) : '') + '</div>' +
|
||||
'<div role="cell" class="value">' + (item[4] ? Common.Utils.String.htmlEncode(item[4]) : '') + '</div>' +
|
||||
'<div role="cell" class="formula">' + (item[5] ? Common.Utils.String.htmlEncode(item[5]) : '') + '</div>' +
|
||||
'</div>';
|
||||
var $item = $(tr).appendTo($innerResults);
|
||||
if (isSelected) {
|
||||
|
||||
@ -664,6 +664,7 @@
|
||||
"Common.Views.SearchPanel.textWorkbook": "Workbook",
|
||||
"Common.Views.SearchPanel.tipNextResult": "Next result",
|
||||
"Common.Views.SearchPanel.tipPreviousResult": "Previous result",
|
||||
"Common.Views.SearchPanel.textSearchResultsTable": "Search results",
|
||||
"Common.Views.SelectFileDlg.textLoading": "Loading",
|
||||
"Common.Views.SelectFileDlg.textTitle": "Select data source",
|
||||
"Common.Views.SignDialog.textBold": "Bold",
|
||||
|
||||
Reference in New Issue
Block a user