fix bug in port configuration

This commit is contained in:
Sebastian Sdorra
2011-02-06 15:52:28 +01:00
parent b70879cb48
commit 6be07f0756
2 changed files with 4 additions and 3 deletions

View File

@@ -78,6 +78,7 @@ public class ScmConfiguration
this.pluginUrl = other.pluginUrl;
this.sslPort = other.sslPort;
this.enableSSL = other.enableSSL;
this.port = other.port;
this.anonymousAccessEnabled = other.anonymousAccessEnabled;
}

View File

@@ -99,7 +99,7 @@ Sonia.config.ScmConfigPanel = Ext.extend(Sonia.config.ConfigPanel,{
name: 'servername',
allowBlank: false
},{
xtype: 'textfield',
xtype: 'numberfield',
fieldLabel: 'Serverport',
name: 'port',
allowBlank: false
@@ -120,10 +120,10 @@ Sonia.config.ScmConfigPanel = Ext.extend(Sonia.config.ConfigPanel,{
name: 'enableSSL',
inputValue: 'true'
},{
xtype: 'textfield',
xtype: 'numberfield',
fieldLabel: 'SSL Port',
name: 'sslPort',
vtype: 'alphanum'
allowBlank: false
}],
onSubmit: function(values){