(trunk web) #2085 in Web Client, torrents added by URL are always paused, regardless of preferences

This commit is contained in:
Charles Kerr 2009-05-16 16:59:45 +00:00
parent 80158af42f
commit 84841de9c8
1 changed files with 1 additions and 1 deletions

View File

@ -1243,7 +1243,7 @@ Transmission.prototype =
var tr = this; var tr = this;
var args = { }; var args = { };
if ('' != $('#torrent_upload_url').val()) { 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 { } else {
args.url = '/transmission/upload?paused=' + (this[Prefs._AutoStart] ? 'false' : 'true'); args.url = '/transmission/upload?paused=' + (this[Prefs._AutoStart] ? 'false' : 'true');
args.type = 'POST'; args.type = 'POST';