summaryrefslogtreecommitdiffstats
path: root/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options')
-rw-r--r--deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/main_tab.js14
-rw-r--r--deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/options_tab.js12
2 files changed, 13 insertions, 13 deletions
diff --git a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/main_tab.js b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/main_tab.js
index 79d2600..f685ff2 100644
--- a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/main_tab.js
+++ b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/main_tab.js
@@ -19,7 +19,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
id: 'main_tab_panel',
title: _('Main'),
- initComponent: function() {
+ initComponent: function () {
Deluge.ux.AutoAdd.AutoAddMainPanel.superclass.initComponent.call(this);
this.watchFolderFset = new Ext.form.FieldSet({
xtype: 'fieldset',
@@ -69,7 +69,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
checked: true,
hideLabel: true,
listeners: {
- check: function(cb, newValue) {
+ check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
@@ -98,7 +98,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
),
hideLabel: true,
listeners: {
- check: function(cb, newValue) {
+ check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
@@ -141,7 +141,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
),
hideLabel: true,
listeners: {
- check: function(cb, newValue) {
+ check: function (cb, newValue) {
if (newValue) {
Ext.getCmp(
'append_extension'
@@ -201,7 +201,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
xtype: 'checkbox',
boxLabel: _('Set download folder'),
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp('download_location').setDisabled(
!checked
);
@@ -233,7 +233,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
xtype: 'checkbox',
boxLabel: _('Set move completed folder'),
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp('move_completed_path').setDisabled(
!checked
);
@@ -271,7 +271,7 @@ Deluge.ux.AutoAdd.AutoAddMainPanel = Ext.extend(Ext.Panel, {
xtype: 'checkbox',
boxLabel: _('Label:'),
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp('label').setDisabled(!checked);
},
},
diff --git a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/options_tab.js b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/options_tab.js
index a69490c..4ce030e 100644
--- a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/options_tab.js
+++ b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options/options_tab.js
@@ -19,7 +19,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
id: 'options_tab_panel',
title: _('Options'),
- initComponent: function() {
+ initComponent: function () {
Deluge.ux.AutoAdd.AutoAddOptionsPanel.superclass.initComponent.call(
this
);
@@ -149,7 +149,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
hideLabel: true,
width: 175,
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp('stop_ratio').setDisabled(
!checked
);
@@ -223,7 +223,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
this.add([this.ownerFset, this.bandwidthFset, this.queueFset]);
},
- _getBandwidthContainer: function(values) {
+ _getBandwidthContainer: function (values) {
return new Ext.Container({
xtype: 'container',
layout: 'hbox',
@@ -236,7 +236,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
boxLabel: _(values.labelCheckbox),
width: 175,
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp(values.idSpinner).setDisabled(!checked);
},
},
@@ -257,7 +257,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
});
},
- _getQueueContainer: function(values) {
+ _getQueueContainer: function (values) {
return new Ext.Container({
xtype: 'container',
layout: 'hbox',
@@ -270,7 +270,7 @@ Deluge.ux.AutoAdd.AutoAddOptionsPanel = Ext.extend(Ext.Panel, {
boxLabel: _(values.labelCheckbox),
width: 175,
listeners: {
- check: function(cb, checked) {
+ check: function (cb, checked) {
Ext.getCmp(values.nameRadio).setDisabled(!checked);
Ext.getCmp('not_' + values.nameRadio).setDisabled(
!checked