mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
- merge from stable branches (WebUI fixes)
This commit is contained in:
@@ -22,12 +22,13 @@
|
||||
*/
|
||||
|
||||
window.addEvent('domready', function(){
|
||||
$('urls').focus();
|
||||
$('downButton').addEvent('click', function(e){
|
||||
new Event(e).stop();
|
||||
new Ajax('/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'));
|
||||
}
|
||||
}).request();
|
||||
}).send();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user