timer action and object numeration fixed

This commit is contained in:
Bogdan Pilyugin 2023-04-15 11:05:12 +02:00
parent e742ad6159
commit 4daab54c6f
3 changed files with 40 additions and 40 deletions

View File

@ -246,7 +246,7 @@ function drawtimers(tarr) {
content += ("<select class=\"\" id=\"object"+i+"\">");
for (k = 0; k < objects_test.length; k++) {
var selected = (tarr[i - 1].obj == k) ? "selected" : "";
content += ("<option value=\"" + (k + 1) + "\" " + selected + ">" + objects_test[k] + "</option>");}
content += ("<option value=\"" + (k) + "\" " + selected + ">" + objects_test[k] + "</option>");}
content += ("</select></div></div>");
content += ("<div class=\"nowrap\">");
@ -254,7 +254,7 @@ function drawtimers(tarr) {
content += ("<select class=\"\" id=\"action"+i+"\">");
for (k = 0; k < actions_test.length; k++) {
var selected = (tarr[i - 1].act == k) ? "selected" : "";
content += ("<option value=\"" + (k + 1) + "\" " + selected + ">" + actions_test[k] + "</option>");}
content += ("<option value=\"" + (k) + "\" " + selected + ">" + actions_test[k] + "</option>");}
content += ("</select></div></div>");
content += ("<div class=\"nowrap\">");

View File

@ -4,6 +4,6 @@ dependencies:
source:
type: idf
version: 4.4.4
manifest_hash: f9b3d78d7d56685d1c543701158a0fab7a56c908117ed70644f77e4247c831ae
manifest_hash: 31dd4ec84ade1450fc168388f4adce2efacd1516170670735140bc772e9d72bd
target: esp32
version: 1.0.0