From a996c13e63bbefb4272f4a6ce20dffde51b9a215 Mon Sep 17 00:00:00 2001 From: mattbk Date: Wed, 6 Sep 2023 21:36:10 -0500 Subject: [PATCH] Snapshot to capture working refresh... --- vulpes/src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vulpes/src/main.cpp b/vulpes/src/main.cpp index 5c6c8b7..022e4c4 100644 --- a/vulpes/src/main.cpp +++ b/vulpes/src/main.cpp @@ -91,9 +91,9 @@ const char index_html[] PROGMEM = R"rawliteral( } // Refresh page after submit so values are right https://stackoverflow.com/a/1860732/2152245 window.onload = function() { - document.getElementById("hidden-form").onload = function() { - top.location.reload(); - } + //document.getElementById("hidden-form").onload = function() { + //top.location.reload(); + //} // Current start date to string s = %inputStartTimeUnix%; current_start = new Date(s * 1000); @@ -110,7 +110,7 @@ const char index_html[] PROGMEM = R"rawliteral(

Local time:

-
+

Sending program (cycle doesn't work yet) (current value: %inputSend%):