mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Web UI: Stop using absolute URLs in ajax requests (closes #1011226)
This commit is contained in:
@@ -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('|')},
|
||||
|
||||
Reference in New Issue
Block a user