[SSE] Refactoring spellcheck panel

This commit is contained in:
Julia Radzhabova 2022-02-28 16:21:11 +03:00
parent eb5cc65702
commit de669790d1
3 changed files with 7 additions and 4 deletions

View file

@ -152,9 +152,9 @@ require([
'Print',
'Toolbar',
'Statusbar',
'Spellcheck',
'RightMenu',
'LeftMenu',
'Spellcheck',
'Main',
'PivotTable',
'DataTab',
@ -177,9 +177,9 @@ require([
'spreadsheeteditor/main/app/controller/CellEditor',
'spreadsheeteditor/main/app/controller/Toolbar',
'spreadsheeteditor/main/app/controller/Statusbar',
'spreadsheeteditor/main/app/controller/Spellcheck',
'spreadsheeteditor/main/app/controller/RightMenu',
'spreadsheeteditor/main/app/controller/LeftMenu',
'spreadsheeteditor/main/app/controller/Spellcheck',
'spreadsheeteditor/main/app/controller/Main',
'spreadsheeteditor/main/app/controller/Print',
'spreadsheeteditor/main/app/controller/PivotTable',

View file

@ -254,6 +254,9 @@ define([
},
onSpellCheckVariantsFound: function (property) {
if (property===null && this._currentSpellObj === property && !(this.panelSpellcheck && this.panelSpellcheck.isVisible()))
return;
this._currentSpellObj = property;
var arr = [],

View file

@ -142,9 +142,9 @@ require([
'Print',
'Toolbar',
'Statusbar',
'Spellcheck',
'RightMenu',
'LeftMenu',
'Spellcheck',
'Main',
'PivotTable',
'DataTab',
@ -167,9 +167,9 @@ require([
'spreadsheeteditor/main/app/controller/CellEditor',
'spreadsheeteditor/main/app/controller/Toolbar',
'spreadsheeteditor/main/app/controller/Statusbar',
'spreadsheeteditor/main/app/controller/Spellcheck',
'spreadsheeteditor/main/app/controller/RightMenu',
'spreadsheeteditor/main/app/controller/LeftMenu',
'spreadsheeteditor/main/app/controller/Spellcheck',
'spreadsheeteditor/main/app/controller/Main',
'spreadsheeteditor/main/app/controller/Print',
'spreadsheeteditor/main/app/controller/PivotTable',