Procházet zdrojové kódy

change max file characters to 100

Frank Haverland před 3 roky
rodič
revize
356b208f33
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      sd-card/html/ota_page.html

+ 2 - 2
sd-card/html/ota_page.html

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