summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 15:05:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 15:05:49 +0000
commitd395bd510fa4f4376dc5237ab2f8d190a920d35d (patch)
tree3e3b16b44064938be801aede14381562bae14f6a /deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js
parentAdding upstream version 2.0.3. (diff)
downloaddeluge-upstream/2.1.1.tar.xz
deluge-upstream/2.1.1.zip
Adding upstream version 2.1.1.upstream/2.1.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js')
-rw-r--r--deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js b/deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js
index c394664..9aefce3 100644
--- a/deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js
+++ b/deluge/ui/web/js/deluge-all/preferences/InstallPluginWindow.js
@@ -26,7 +26,7 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
modal: true,
plain: true,
- initComponent: function() {
+ initComponent: function () {
Deluge.preferences.InstallPluginWindow.superclass.initComponent.call(
this
);
@@ -53,7 +53,7 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
});
},
- onInstall: function(field, e) {
+ onInstall: function (field, e) {
this.form.getForm().submit({
url: deluge.config.base + 'upload',
waitMsg: _('Uploading your plugin...'),
@@ -62,11 +62,11 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
});
},
- onUploadPlugin: function(info, obj, response, request) {
+ onUploadPlugin: function (info, obj, response, request) {
this.fireEvent('pluginadded');
},
- onUploadSuccess: function(fp, upload) {
+ onUploadSuccess: function (fp, upload) {
this.hide();
if (upload.result.success) {
var filename = this.form.getForm().getFieldValues().file;