Browse Source

Fix unable to add multiple peers in WebUI

Wrong delimiter was used.
adaptive-webui-19844
Sepro 5 years ago
parent
commit
2c8230f1ae
  1. 2
      src/webui/www/private/addpeers.html

2
src/webui/www/private/addpeers.html

@ -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]");

Loading…
Cancel
Save