mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 22:52:33 -06:00
Web UI: Stop using absolute URLs in ajax requests (closes #1011226)
This commit is contained in:
@@ -25,7 +25,7 @@ window.addEvent('domready', function(){
|
||||
$('urls').focus();
|
||||
$('downButton').addEvent('click', function(e){
|
||||
new Event(e).stop();
|
||||
new Request({url: '/command/download', method: 'post', data: {urls: $('urls').value},
|
||||
new Request({url: 'command/download', method: 'post', data: {urls: $('urls').value},
|
||||
onComplete: function() {
|
||||
window.parent.document.getElementById('downloadPage').parentNode.removeChild(window.parent.document.getElementById('downloadPage'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user