diff --git a/apps/documenteditor/main/app/view/Statusbar.js b/apps/documenteditor/main/app/view/Statusbar.js index fcce4b3c2..4ad9c77c0 100644 --- a/apps/documenteditor/main/app/view/Statusbar.js +++ b/apps/documenteditor/main/app/view/Statusbar.js @@ -583,7 +583,7 @@ define([ data: this.options.languages }); - this.cmbLanguage.scroller.update({alwaysVisibleY: true}); + if (this.cmbLanguage.scroller) this.cmbLanguage.scroller.update({alwaysVisibleY: true}); this.cmbLanguage.on('selected', _.bind(this.onLangSelect, this)); this.cmbLanguage.setValue(Common.util.LanguageInfo.getLocalLanguageName(this.options.current)[0]); this.onLangSelect(this.cmbLanguage, this.cmbLanguage.getSelectedRecord());