|
|
@@ -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] == '/') {
|