diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index 3b18b8145..39535adfa 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -205,7 +205,7 @@ initializeWindows = function() { var hashes = torrentsTable.selectedRowsIds(); if (hashes.length) { new Request({ - url: 'api/v2/toggleSequentialDownload', + url: 'api/v2/torrents/toggleSequentialDownload', method: 'post', data: { hashes: hashes.join("|") @@ -219,7 +219,7 @@ initializeWindows = function() { var hashes = torrentsTable.selectedRowsIds(); if (hashes.length) { new Request({ - url: 'api/v2/toggleFirstLastPiecePrio', + url: 'api/v2/torrents/toggleFirstLastPiecePrio', method: 'post', data: { hashes: hashes.join("|")