Skip to content

Commit a70fa74

Browse files
ATAMAHmarcoskirsch
authored andcommitted
Small fix to upload form (#117)
Fixed bug when you cannot browse or D&D same file multiple times without reloading the whole page.
1 parent b5baf6c commit a70fa74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/upload.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@
554554

555555
<a onclick='document.getElementById("browseInput").click();'>Browse</a>
556556
<a onclick='UploadFiles();'>Upload</a>
557-
<input id="browseInput" type="file" name="upl" onchange="handleFiles(this.files);" multiple />
557+
<form><input id="browseInput" type="file" name="upl" onclick="this.form.reset();" onchange="handleFiles(this.files);" multiple /></form>
558558
</div>
559559

560560
<ul id="fileList">

0 commit comments

Comments
 (0)