Fix upload validation
This commit is contained in:
parent
599c54bf4e
commit
d1818be844
|
@ -120,7 +120,7 @@ function setButtonToFilename(event) {
|
||||||
|
|
||||||
function setError(element) {
|
function setError(element) {
|
||||||
element.classList.add("has-error")
|
element.classList.add("has-error")
|
||||||
element.remove("has-success")
|
element.classList.remove("has-success")
|
||||||
}
|
}
|
||||||
|
|
||||||
function setSuccess(element) {
|
function setSuccess(element) {
|
||||||
|
|
Loading…
Reference in a new issue