Commit f1d781df authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] Fix Bug 32974.

parent 0e0f593c
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment