change max file characters to 100

This commit is contained in:
Frank Haverland
2022-09-27 16:30:41 +02:00
parent 924f03595b
commit 356b208f33

View File

@@ -168,8 +168,8 @@ function upload() {
alert("No file selected!");
} else if (filePath.length == 0) {
alert("File path on server is not set!");
} else if (filePath.length > 30) {
alert("Filename is to long! Max 30 characters.");
} else if (filePath.length > 100) {
alert("Filename is to long! Max 100 characters.");
} else if (filePath.indexOf(' ') >= 0) {
alert("File path on server cannot have spaces!");
} else if (filePath[filePath.length-1] == '/') {