summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/preferences/ProxyPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/web/js/deluge-all/preferences/ProxyPage.js')
-rw-r--r--deluge/ui/web/js/deluge-all/preferences/ProxyPage.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deluge/ui/web/js/deluge-all/preferences/ProxyPage.js b/deluge/ui/web/js/deluge-all/preferences/ProxyPage.js
index 4d3c40297..2dc4cae7e 100644
--- a/deluge/ui/web/js/deluge-all/preferences/ProxyPage.js
+++ b/deluge/ui/web/js/deluge-all/preferences/ProxyPage.js
@@ -14,7 +14,7 @@ Ext.namespace('Deluge.preferences');
* @extends Ext.form.FormPanel
*/
Deluge.preferences.Proxy = Ext.extend(Ext.form.FormPanel, {
- constructor: function(config) {
+ constructor: function (config) {
config = Ext.apply(
{
border: false,
@@ -28,7 +28,7 @@ Deluge.preferences.Proxy = Ext.extend(Ext.form.FormPanel, {
Deluge.preferences.Proxy.superclass.constructor.call(this, config);
},
- initComponent: function() {
+ initComponent: function () {
Deluge.preferences.Proxy.superclass.initComponent.call(this);
this.proxy = this.add(
new Deluge.preferences.ProxyField({
@@ -40,19 +40,19 @@ Deluge.preferences.Proxy = Ext.extend(Ext.form.FormPanel, {
deluge.preferences.getOptionsManager().bind('proxy', this.proxy);
},
- getValue: function() {
+ getValue: function () {
return {
proxy: this.proxy.getValue(),
};
},
- setValue: function(value) {
+ setValue: function (value) {
for (var proxy in value) {
this[proxy].setValue(value[proxy]);
}
},
- onProxyChange: function(field, newValue, oldValue) {
+ onProxyChange: function (field, newValue, oldValue) {
var newValues = this.getValue();
var oldValues = Ext.apply({}, newValues);
oldValues[field.getName()] = oldValue;