mirror of
https://github.com/transmission/transmission.git
synced 2026-04-20 00:40:03 +01:00
(web) #1147: remove "add torrent by URL" from web client
This commit is contained in:
@@ -498,11 +498,7 @@ Transmission.prototype =
|
||||
},
|
||||
|
||||
confirmUploadClicked: function(event) {
|
||||
var url_data = jQuery.fieldValue($("#torrent_upload_url")[0]);
|
||||
if( url_data.length )
|
||||
transmission.remote.addTorrentByURL();
|
||||
else
|
||||
transmission.uploadTorrentFile(true);
|
||||
transmission.uploadTorrentFile( true );
|
||||
transmission.hideUploadDialog( );
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user