|
|
@ -205,7 +205,7 @@ initializeWindows = function() { |
|
|
|
var hashes = torrentsTable.selectedRowsIds(); |
|
|
|
var hashes = torrentsTable.selectedRowsIds(); |
|
|
|
if (hashes.length) { |
|
|
|
if (hashes.length) { |
|
|
|
new Request({ |
|
|
|
new Request({ |
|
|
|
url: 'api/v2/toggleSequentialDownload', |
|
|
|
url: 'api/v2/torrents/toggleSequentialDownload', |
|
|
|
method: 'post', |
|
|
|
method: 'post', |
|
|
|
data: { |
|
|
|
data: { |
|
|
|
hashes: hashes.join("|") |
|
|
|
hashes: hashes.join("|") |
|
|
@ -219,7 +219,7 @@ initializeWindows = function() { |
|
|
|
var hashes = torrentsTable.selectedRowsIds(); |
|
|
|
var hashes = torrentsTable.selectedRowsIds(); |
|
|
|
if (hashes.length) { |
|
|
|
if (hashes.length) { |
|
|
|
new Request({ |
|
|
|
new Request({ |
|
|
|
url: 'api/v2/toggleFirstLastPiecePrio', |
|
|
|
url: 'api/v2/torrents/toggleFirstLastPiecePrio', |
|
|
|
method: 'post', |
|
|
|
method: 'post', |
|
|
|
data: { |
|
|
|
data: { |
|
|
|
hashes: hashes.join("|") |
|
|
|
hashes: hashes.join("|") |
|
|
|