[DE SSE] Fix Bug 53858

This commit is contained in:
ShimaginAndrey 2021-11-19 12:18:02 +03:00
parent b1b9057c31
commit a84705121b
2 changed files with 3 additions and 2 deletions

View file

@ -99,7 +99,8 @@ const Search = withTranslation()(props => {
if (params.find && params.find.length) {
api.asc_selectSearchingResults(true);
if(params.highlight) api.asc_selectSearchingResults(true);
if (!api.asc_findText(params.find, params.forward, params.caseSensitive, params.highlight) ) {
f7.dialog.alert(null, _t.textNoTextFound);
}

View file

@ -155,7 +155,7 @@ const Search = withTranslation()(props => {
options.asc_setScanByRows(searchBy);
options.asc_setLookIn(lookIn ? Asc.c_oAscFindLookIn.Formulas : Asc.c_oAscFindLookIn.Value);
api.asc_selectSearchingResults(true);
if (params.highlight) api.asc_selectSearchingResults(true);
if (!api.asc_findText(options)) {
f7.dialog.alert(null, _t.textNoTextFound);