Web UI: Stop using absolute URLs in ajax requests (closes #1011226)

This commit is contained in:
Christophe Dumez
2012-06-10 20:15:57 +03:00
parent 55a6bc3855
commit 81e4e39878
10 changed files with 24 additions and 24 deletions

View File

@@ -15,7 +15,7 @@ function hideAll() {
<iframe id="upload_frame" name="upload_frame" style="width:1px;height:1px;border:0px;" src="javascript:false;"></iframe>
<center>
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="theme/list-add"/>_(Download local torrent)</h1>
<form action="/command/upload" enctype="multipart/form-data" method="post" id="uploadForm" target="upload_frame">
<form action="command/upload" enctype="multipart/form-data" method="post" id="uploadForm" target="upload_frame">
<input type="file" name="torrentfile" id="torrentfile" size="40"/><br/><br/>
<input type="submit" value="_(Download)" id="upButton"/>
</form>