mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-12 14:37:06 +03:00
add number of max characters to the failure dialog in upload check
This commit is contained in:
@@ -169,7 +169,7 @@ function upload() {
|
|||||||
} else if (filePath.length == 0) {
|
} else if (filePath.length == 0) {
|
||||||
alert("File path on server is not set!");
|
alert("File path on server is not set!");
|
||||||
} else if (filePath.length > 30) {
|
} else if (filePath.length > 30) {
|
||||||
alert("Filename is to long! Use a shorter name.");
|
alert("Filename is to long! Max 30 characters.");
|
||||||
} else if (filePath.indexOf(' ') >= 0) {
|
} else if (filePath.indexOf(' ') >= 0) {
|
||||||
alert("File path on server cannot have spaces!");
|
alert("File path on server cannot have spaces!");
|
||||||
} else if (filePath[filePath.length-1] == '/') {
|
} else if (filePath[filePath.length-1] == '/') {
|
||||||
|
|||||||
Reference in New Issue
Block a user