- Allow to download torrents from a local file (Web UI)

This commit is contained in:
Christophe Dumez 2008-07-31 12:03:28 +00:00
parent a4318cc060
commit b9c4a434c9
9 changed files with 92 additions and 9 deletions

View file

@ -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();