(trunk) #1538 "Make Web UI URL configurable" -- added to trunk. Patch by wereHamster

This commit is contained in:
Charles Kerr
2010-12-12 18:22:11 +00:00
parent 4ce7896402
commit 3a5d17cfde
7 changed files with 136 additions and 61 deletions

View File

@@ -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';