diff --git a/src/webui/html/addtrackers.html b/src/webui/html/addtrackers.html
index 64a5264b0..5b6af3184 100644
--- a/src/webui/html/addtrackers.html
+++ b/src/webui/html/addtrackers.html
@@ -12,7 +12,7 @@
$('addTrackersButton').addEvent('click', function(e){
new Event(e).stop();
var hash = new URI().getData('hash');
- new Request({url: '/command/addTrackers', method: 'post', data: {hash: hash, urls: $('trackersUrls').value},
+ new Request({url: 'command/addTrackers', method: 'post', data: {hash: hash, urls: $('trackersUrls').value},
onComplete: function() {
window.parent.document.getElementById('trackersPage').parentNode.removeChild(window.parent.document.getElementById('trackersPage'));
}
diff --git a/src/webui/html/confirmdeletion.html b/src/webui/html/confirmdeletion.html
index 5668d2a89..e43b28629 100644
--- a/src/webui/html/confirmdeletion.html
+++ b/src/webui/html/confirmdeletion.html
@@ -45,9 +45,9 @@ window.addEvent('domready', function(){
});
$('confirmBtn').addEvent('click', function(e){
new Event(e).stop();
- var cmd = '/command/delete';
+ var cmd = 'command/delete';
if($('deleteFromDiskCB').get('checked'))
- cmd = '/command/deletePerm';
+ cmd = 'command/deletePerm';
new Request({url: cmd,
method: 'post',
data: {hashes: hashes.join('|')},
diff --git a/src/webui/html/downloadlimit.html b/src/webui/html/downloadlimit.html
index 011206018..1cf3ae6e5 100644
--- a/src/webui/html/downloadlimit.html
+++ b/src/webui/html/downloadlimit.html
@@ -25,7 +25,7 @@
setDlLimit = function() {
var limit = $("dllimitUpdatevalue").get('html').toInt() * 1024;
if(hash == "global") {
- new Request({url: '/command/setGlobalDlLimit',
+ new Request({url: 'command/setGlobalDlLimit',
method: 'post',
data: {'limit': limit},
onComplete: function() {
@@ -33,7 +33,7 @@
}
}).send();
} else {
- new Request({url: '/command/setTorrentDlLimit',
+ new Request({url: 'command/setTorrentDlLimit',
method: 'post',
data: {'hash': hash, 'limit': limit},
onComplete: function() {
@@ -51,4 +51,4 @@