Merge pull request #12449 from SeproDE/fix-addMultiplePeers

Fix add multiple peers from webui
This commit is contained in:
Mike Tzou 2020-04-10 12:22:22 +08:00 committed by GitHub
commit d8356deefa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@
method: 'post', method: 'post',
data: { data: {
hashes: hash, hashes: hash,
peers: peers.join(';') peers: peers.join('|')
}, },
onFailure: function() { onFailure: function() {
alert("QBT_TR(Unable to add peers. Please ensure you are adhering to the IP:port format.)QBT_TR[CONTEXT=HttpServer]"); alert("QBT_TR(Unable to add peers. Please ensure you are adhering to the IP:port format.)QBT_TR[CONTEXT=HttpServer]");