diff --git a/deluge/ui/web/js/Deluge.ConnectionManager.js b/deluge/ui/web/js/Deluge.ConnectionManager.js index 7133f2f5e..0f4e06b3a 100644 --- a/deluge/ui/web/js/Deluge.ConnectionManager.js +++ b/deluge/ui/web/js/Deluge.ConnectionManager.js @@ -87,7 +87,12 @@ Copyright: xtype: 'uxspinner', ctCls: 'x-form-uxspinner', name: 'port', - strategy: Ext.ux.form.Spinner.NumberStrategy(), + strategy: { + xtype: 'number', + decimalPrecision: 0, + minValue: -1, + maxValue: 99999 + }, value: '58846', anchor: '50%' });