Fixed missing error for file type validation
This commit is contained in:
parent
1ec2be5925
commit
9270e7f8e9
@ -316,6 +316,7 @@ if (!isset($_POST['submit'])) {
|
|||||||
}
|
}
|
||||||
if (!fileList.length) {
|
if (!fileList.length) {
|
||||||
submitButton.disabled = true;
|
submitButton.disabled = true;
|
||||||
|
errorDiv.style.display = 'block';
|
||||||
errorDiv.innerHTML += 'Keine gültigen Bilder oder Videos gefunden';
|
errorDiv.innerHTML += 'Keine gültigen Bilder oder Videos gefunden';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user