mirror of
https://github.com/transmission/transmission.git
synced 2026-04-26 03:40:22 +01:00
(trunk) #1538 "Make Web UI URL configurable" -- added to trunk. Patch by wereHamster
This commit is contained in:
@@ -1805,7 +1805,7 @@ Transmission.prototype =
|
||||
if ('' != $('#torrent_upload_url').val()) {
|
||||
tr.remote.addTorrentByUrl($('#torrent_upload_url').val(), { paused: paused });
|
||||
} else {
|
||||
args.url = '/transmission/upload?paused=' + paused;
|
||||
args.url = '../upload?paused=' + paused;
|
||||
args.type = 'POST';
|
||||
args.data = { 'X-Transmission-Session-Id' : tr.remote._token };
|
||||
args.dataType = 'xml';
|
||||
|
||||
Reference in New Issue
Block a user