mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
fix some js warnings
This commit is contained in:
@@ -61,7 +61,7 @@ Sonia.git.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
|
||||
inputValue: 'true',
|
||||
helpText: this.disabledHelpText
|
||||
}]
|
||||
}
|
||||
};
|
||||
|
||||
Ext.apply(this, Ext.apply(this.initialConfig, config));
|
||||
Sonia.git.ConfigPanel.superclass.initComponent.apply(this, arguments);
|
||||
@@ -73,7 +73,7 @@ Ext.reg("gitConfigPanel", Sonia.git.ConfigPanel);
|
||||
|
||||
// i18n
|
||||
|
||||
if ( i18n != null && i18n.country == 'de' ){
|
||||
if ( i18n && i18n.country === 'de' ){
|
||||
|
||||
Ext.override(Sonia.git.ConfigPanel, {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user