diff --git a/src/webui/www/private/scripts/mocha-init.js b/src/webui/www/private/scripts/mocha-init.js index b1cdc811e..49a5f893d 100644 --- a/src/webui/www/private/scripts/mocha-init.js +++ b/src/webui/www/private/scripts/mocha-init.js @@ -387,15 +387,13 @@ initializeWindows = function() { recheckFN = function() { var hashes = torrentsTable.selectedRowsIds(); if (hashes.length) { - hashes.each(function(hash, index) { - new Request({ - url: 'api/v2/torrents/recheck', - method: 'post', - data: { - hashes: hash - } - }).send(); - }); + new Request({ + url: 'api/v2/torrents/recheck', + method: 'post', + data: { + hashes: hashes.join("|"), + } + }).send(); updateMainData(); } };