From 924f03595b9645692cce7f542615d180f006824d Mon Sep 17 00:00:00 2001 From: Frank Haverland Date: Tue, 27 Sep 2022 16:23:11 +0200 Subject: [PATCH] add number of max characters to the failure dialog in upload check --- sd-card/html/ota_page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd-card/html/ota_page.html b/sd-card/html/ota_page.html index 21ef64f8..10e7d323 100644 --- a/sd-card/html/ota_page.html +++ b/sd-card/html/ota_page.html @@ -169,7 +169,7 @@ function upload() { } else if (filePath.length == 0) { alert("File path on server is not set!"); } 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) { alert("File path on server cannot have spaces!"); } else if (filePath[filePath.length-1] == '/') {