From dfe7ebaa087334619dd935b0bfb023422497f433 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 7 Nov 2018 23:11:52 +0100 Subject: [PATCH] fixed non working pause/cancel button in webUI --- libresapi/src/webui-src/app/downloads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libresapi/src/webui-src/app/downloads.js b/libresapi/src/webui-src/app/downloads.js index af26e2c6b..6438f68ae 100644 --- a/libresapi/src/webui-src/app/downloads.js +++ b/libresapi/src/webui-src/app/downloads.js @@ -33,7 +33,7 @@ function cntrlBtn(file, act) { return( m("div.btn",{ onclick: function(){ - rs.request("transfers/control_download",{action: act, id: file.id}); + rs.request("transfers/control_download",{action: act, hash: file.hash}); } }, act)