fixed non working pause/cancel button in webUI

This commit is contained in:
csoler 2018-11-07 23:11:52 +01:00
parent 07f63c82e2
commit dfe7ebaa08
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C

View file

@ -33,7 +33,7 @@ function cntrlBtn(file, act) {
return( return(
m("div.btn",{ m("div.btn",{
onclick: function(){ onclick: function(){
rs.request("transfers/control_download",{action: act, id: file.id}); rs.request("transfers/control_download",{action: act, hash: file.hash});
} }
}, },
act) act)