@lisbian08, Good job, and you're much welcome buddy, you did the job yourself even, kudos
@all, Sorry off-topic, but since brought up here anyway, then just wanted add I fixed the web-UI plugin-install issue and created a
bug-ticket with code-fix suggestion.
Meanwhile if wanted then this command-line will apply fix to linux-install(can keep deluge-web running if wanted, but need refresh open webpage to it then, before will work):
Code: Select all
sudo find /usr -path "*/deluge/ui/web/js/deluge-all.js" -exec sed -i "s/\..'),},/..'),},listeners:{fileselected:function(fb,v){this.setValue(v[0]['name']);}},/" {} \;
Alternatively, here's
prepatched deluge 2.1.1 file for linux. (e.g. '/usr/lib/python3.11/site-packages/deluge/ui/web/js/deluge-all.js')
Same for
windows. ('%programfiles%\deluge\ui\web\js\deluge-all-debug.js')
(Luckilly this file was omited picked up by pyinstaller during freezing, so supplied externally, so I need not supply prebuilt exe for this fix.)
Hope helps.
Edit: I broke torrent-file-upload first time, sorry about that, replaced fix above, with more direct one which shouldn't break anything else. I might change it again later, as still a minor cosmetic issue left, showing wrong filename after selecting, but corrects itself alterwards and so non-functional issue. If ran that first command-line, without backup, then this will revert back to default: 'sudo find /usr -path "*/deluge/ui/web/js/extjs/ext-extensions.js" -exec sed -i "s/setValue(value\[0]\['name'])/setValue(value)/" {} \;'.
Edit2: Sorry last edit, I fixed the minor cosmetic bug and replaced command-line and files above with final fix, sorry for inconvinience. If ran the previous command-line from previous edit, without backup, then can revert back to default with: 'sudo find /usr -path "*/deluge/ui/web/js/deluge-all.js" -exec sed -i "s/findField('file').value\[0]\['name']/getFieldValues().file/" {} \;'.