Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI: Fix removing selected torrent(s) not working #2040

Merged
merged 4 commits into from Oct 25, 2021

Conversation

1100101
Copy link
Contributor

@1100101 1100101 commented Oct 24, 2021

With Transmission 3.00 and the new WebUI, removing one or more selected torrents without removing their data did not work: The torrent(s) simply weren't removed.
This is because the web client would send a list full Torrent objects instead of just torrent IDs via RPC to the server, which the server then simply ignored.

This PR combines the functions Remote.removeTorrents() and Remote.removeTorrentsAndData() into one function, sending only IDs as expected.

Note: web programming and Javascript are not my forté, so this fix may be utter nonense. It does do the trick on my machine however.

Fixes #2015 .

@ckerr ckerr merged commit c42e05b into transmission:master Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Cannot remove torrent via Web Interface
3 participants