mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
(trunk web) #2085 in Web Client, torrents added by URL are always paused, regardless of preferences
This commit is contained in:
@@ -1243,7 +1243,7 @@ Transmission.prototype =
|
||||
var tr = this;
|
||||
var args = { };
|
||||
if ('' != $('#torrent_upload_url').val()) {
|
||||
tr.remote.addTorrentByUrl($('#torrent_upload_url').val(), { paused: !this[Prefs._Autostart] });
|
||||
tr.remote.addTorrentByUrl($('#torrent_upload_url').val(), { paused: !this[Prefs._AutoStart] });
|
||||
} else {
|
||||
args.url = '/transmission/upload?paused=' + (this[Prefs._AutoStart] ? 'false' : 'true');
|
||||
args.type = 'POST';
|
||||
|
||||
Reference in New Issue
Block a user