[DE] Fix Bug 32974.

This commit is contained in:
Julia Radzhabova 2016-08-23 09:41:53 +03:00
parent 0e0f593cda
commit f1d781df3a

View file

@ -583,7 +583,7 @@ define([
data: this.options.languages 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.on('selected', _.bind(this.onLangSelect, this));
this.cmbLanguage.setValue(Common.util.LanguageInfo.getLocalLanguageName(this.options.current)[0]); this.cmbLanguage.setValue(Common.util.LanguageInfo.getLocalLanguageName(this.options.current)[0]);
this.onLangSelect(this.cmbLanguage, this.cmbLanguage.getSelectedRecord()); this.onLangSelect(this.cmbLanguage, this.cmbLanguage.getSelectedRecord());