mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
Add WebUI Force Reannounce option
This commit is contained in:
parent
17405dfc10
commit
cdad0dc7d3
5 changed files with 27 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue