Reset form input file after upload
This commit is contained in:
parent
ca77348fb1
commit
8b65b905ce
@ -250,6 +250,7 @@ function importFile(input){
|
|||||||
// FIXME: show progress
|
// FIXME: show progress
|
||||||
xhr.open("POST", "utils/import.php", true);
|
xhr.open("POST", "utils/import.php", true);
|
||||||
xhr.send(new FormData(input.parentElement));
|
xhr.send(new FormData(input.parentElement));
|
||||||
|
input.value = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateSummary(l, d, s) {
|
function updateSummary(l, d, s) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user