This commit is contained in:
Dmitry Borisenko
2022-09-27 01:24:37 +02:00
parent e4cac5e048
commit 84dfcd10d3
2 changed files with 25 additions and 5 deletions

View File

@@ -37,7 +37,7 @@
let updatingTimeout = 120000;
let opened = false;
let preventMove = false;
let devMode = true;
let devMode = false;
//****************************************************variable section**********************************************************/
//******************************************************************************************************************************/
@@ -481,7 +481,7 @@
//if (debug) console.log("[i] status (arr)", ws);
} else {
updateWidget(statusJson);
//if (debug) console.log("[i] status (dgt)", ws, JSON.stringify(statusJson));
if (debug) console.log("[i] status (dgt)", ws, JSON.stringify(statusJson));
}
}
}
@@ -768,7 +768,7 @@
//widget.ws = selectedWs;
widget.topic = settingsJson.root + "/" + config.id;
layout.push(widget);
if (setWidget !== "nil") layout.push(widget);
if (widget.widget === "chart") {
let input = getInput();
input.page = config.page;