mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
- Allow to download torrents from a local file (Web UI)
This commit is contained in:
parent
a4318cc060
commit
b9c4a434c9
9 changed files with 92 additions and 9 deletions
|
@ -35,6 +35,23 @@ function attachMochaLinkEvents(){
|
|||
height: 270
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent('upload', function(e){
|
||||
new Event(e).stop();
|
||||
document.mochaUI.newWindow({
|
||||
id: 'uploadPage',
|
||||
title: 'Upload torrent file',
|
||||
loadMethod: 'iframe',
|
||||
contentURL:'upload.html',
|
||||
scrollbars: false,
|
||||
resizable: false,
|
||||
maximizable: false,
|
||||
paddingVertical: 0,
|
||||
paddingHorizontal: 0,
|
||||
width: 500,
|
||||
height: 120
|
||||
});
|
||||
});
|
||||
|
||||
addClickEvent('delete', function(e){
|
||||
new Event(e).stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue