[SSE] Refactoring
This commit is contained in:
parent
228d8311a6
commit
ebed2d1002
|
@ -127,7 +127,7 @@ define([
|
||||||
setLanguages: function (array) {
|
setLanguages: function (array) {
|
||||||
this.languages = array;
|
this.languages = array;
|
||||||
this._initSettings = true;
|
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();
|
this.panelSpellcheck.cmbDictionaryLanguage.store.reset();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue