WebUi - Generating js? / Torrent upload and -b

Suggestions and discussion of future versions
Post Reply
The Compiler

WebUi - Generating js? / Torrent upload and -b

Post by The Compiler »

Hi there,

I have some questions concerning the webui. The torrent upload window doesn't take the -b option into account, because of that, while using a proxy, you can't upload new torrents.
I'd like to fix this bug at least for myself (and submit a patch?), but I don't really know js.

In ui/web/js/deluge-all/add/FileWindow.js, line 80, I guess

Code: Select all

url: '/upload',
should be something like

Code: Select all

url: deluge.config.base + '/upload',
same in ui/web/js/deluge-all/preferences/InstallPluginWindow.js as well.

Does this look right to you?

Next question, how are the ui/web/js/deluge-all.js and -all-debug.js generated?

Florian

Related ticket: http://dev.deluge-torrent.org/ticket/1481
Post Reply