Small fix to upload form (#117)

Fixed bug when you cannot browse or D&D same file multiple times without reloading the whole page.
This commit is contained in:
Dmitry 2017-10-02 16:49:49 +03:00 committed by Marcos
parent b5baf6cd48
commit a70fa745b0

View File

@ -554,7 +554,7 @@
<a onclick='document.getElementById("browseInput").click();'>Browse</a> <a onclick='document.getElementById("browseInput").click();'>Browse</a>
<a onclick='UploadFiles();'>Upload</a> <a onclick='UploadFiles();'>Upload</a>
<input id="browseInput" type="file" name="upl" onchange="handleFiles(this.files);" multiple /> <form><input id="browseInput" type="file" name="upl" onclick="this.form.reset();" onchange="handleFiles(this.files);" multiple /></form>
</div> </div>
<ul id="fileList"> <ul id="fileList">