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

@ -1,30 +1,30 @@
adapters.html adapters.html
api api
api/dbg.json api/dbg.json
api/dbg2.json api/dbg2.json
api/gendata.json api/gendata.json
api/mem.json api/mem.json
api/set1.json api/set1.json
api/set2.json api/set2.json
api/set3.json api/set3.json
api/stat.json api/stat.json
api/status.json api/status.json
api/tmr.json api/tmr.json
api/wifiscan.json api/wifiscan.json
application.html application.html
favicon.ico favicon.ico
index.html index.html
info.html info.html
reboot.html reboot.html
res res
res/appstyles.css res/appstyles.css
res/ca_cert.pem res/ca_cert.pem
res/cron.js res/cron.js
res/iconsfont.css res/iconsfont.css
res/iconsfont.woff2 res/iconsfont.woff2
res/logo.png res/logo.png
res/main.js res/main.js
res/res.js res/res.js
res/styles.css res/styles.css
services.html services.html
system.html system.html

View File

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

View File

@ -1,9 +1,9 @@
dependencies: dependencies:
idf: idf:
component_hash: null component_hash: null
source: source:
type: idf type: idf
version: 4.4.4 version: 4.4.4
manifest_hash: f9b3d78d7d56685d1c543701158a0fab7a56c908117ed70644f77e4247c831ae manifest_hash: 31dd4ec84ade1450fc168388f4adce2efacd1516170670735140bc772e9d72bd
target: esp32 target: esp32
version: 1.0.0 version: 1.0.0