mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
Add WebUI Force Reannounce option
This commit is contained in:
committed by
sledgehammer999
parent
2bcf09cfa5
commit
be683fbcd3
@@ -400,6 +400,20 @@ initializeWindows = function() {
|
||||
}
|
||||
};
|
||||
|
||||
reannounceFN = function() {
|
||||
var hashes = torrentsTable.selectedRowsIds();
|
||||
if (hashes.length) {
|
||||
new Request({
|
||||
url: 'api/v2/torrents/reannounce',
|
||||
method: 'post',
|
||||
data: {
|
||||
hashes: hashes.join("|"),
|
||||
}
|
||||
}).send();
|
||||
updateMainData();
|
||||
}
|
||||
};
|
||||
|
||||
setLocationFN = function() {
|
||||
var hashes = torrentsTable.selectedRowsIds();
|
||||
if (hashes.length) {
|
||||
|
||||
Reference in New Issue
Block a user