Browse Source

WebUI: filter file selection to bittorrent files

Note that the user can still overwrite the selection filter and select
other files.
adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
af1c97e2ea
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/webui/www/private/upload.html

2
src/webui/www/private/upload.html

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
<iframe id="upload_frame" name="upload_frame" class="invisible" src="about:blank"></iframe>
<form action="api/v2/torrents/add" enctype="multipart/form-data" method="post" id="uploadForm" style="text-align: center;" target="upload_frame" autocorrect="off" autocapitalize="none">
<div style="margin-top: 25px; display: inline-block; border: 1px solid lightgrey; border-radius: 4px;">
<input type="file" id="fileselect" name="fileselect[]" multiple />
<input type="file" id="fileselect" accept="application/x-bittorrent, .torrent" name="fileselect[]" multiple />
</div>
<fieldset class="settings" style="border: 0; text-align: left; margin-top: 12px;">
<table style="margin: auto;">

Loading…
Cancel
Save