summaryrefslogtreecommitdiffstats
path: root/deluge/plugins/Extractor/deluge_extractor/data/extractor.js
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/plugins/Extractor/deluge_extractor/data/extractor.js')
-rw-r--r--deluge/plugins/Extractor/deluge_extractor/data/extractor.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/deluge/plugins/Extractor/deluge_extractor/data/extractor.js b/deluge/plugins/Extractor/deluge_extractor/data/extractor.js
index b11cb30f6..952b6450b 100644
--- a/deluge/plugins/Extractor/deluge_extractor/data/extractor.js
+++ b/deluge/plugins/Extractor/deluge_extractor/data/extractor.js
@@ -21,7 +21,7 @@ Deluge.ux.preferences.ExtractorPage = Ext.extend(Ext.Panel, {
layout: 'fit',
border: false,
- initComponent: function() {
+ initComponent: function () {
Deluge.ux.preferences.ExtractorPage.superclass.initComponent.call(this);
this.form = this.add({
@@ -59,7 +59,7 @@ Deluge.ux.preferences.ExtractorPage = Ext.extend(Ext.Panel, {
this.on('show', this.updateConfig, this);
},
- onApply: function() {
+ onApply: function () {
// build settings object
var config = {};
@@ -69,13 +69,13 @@ Deluge.ux.preferences.ExtractorPage = Ext.extend(Ext.Panel, {
deluge.client.extractor.set_config(config);
},
- onOk: function() {
+ onOk: function () {
this.onApply();
},
- updateConfig: function() {
+ updateConfig: function () {
deluge.client.extractor.get_config({
- success: function(config) {
+ success: function (config) {
this.extract_path.setValue(config['extract_path']);
this.use_name_folder.setValue(config['use_name_folder']);
},
@@ -87,11 +87,11 @@ Deluge.ux.preferences.ExtractorPage = Ext.extend(Ext.Panel, {
Deluge.plugins.ExtractorPlugin = Ext.extend(Deluge.Plugin, {
name: 'Extractor',
- onDisable: function() {
+ onDisable: function () {
deluge.preferences.removePage(this.prefsPage);
},
- onEnable: function() {
+ onEnable: function () {
this.prefsPage = deluge.preferences.addPage(
new Deluge.ux.preferences.ExtractorPage()
);