[SSE] Refactoring

This commit is contained in:
Julia Radzhabova 2019-12-25 13:09:56 +03:00
parent 228d8311a6
commit ebed2d1002

View file

@ -127,7 +127,7 @@ define([
setLanguages: function (array) {
this.languages = array;
this._initSettings = true;
if (this.panelSpellcheck.cmbDictionaryLanguage.store.length > 0) {
if (this.panelSpellcheck.cmbDictionaryLanguage && this.panelSpellcheck.cmbDictionaryLanguage.store.length > 0) {
this.panelSpellcheck.cmbDictionaryLanguage.store.reset();
}
},