Improve Led Device on/off and background effect (#1502)

* Queue On-Off calls

* Do not switch-off LED-device when Background effect is enabled

* Fix LGTM Warnings

* Address LGTM findings
This commit is contained in:
LordGrey
2022-08-14 23:02:30 +02:00
committed by GitHub
parent e17ce6cd4e
commit a2266b177f
8 changed files with 54 additions and 36 deletions

View File

@@ -272,7 +272,7 @@ $(document).ready(function () {
function updateForwarderServiceSections(type) {
var editorPath = "root.forwarder." + type
var editorPath = "root.forwarder." + type;
var selectedServices = conf_editor_forw.getEditor(editorPath + "select").getValue();
if (jQuery.isEmptyObject(selectedServices) || selectedServices[0] === "NONE") {
@@ -301,7 +301,7 @@ $(document).ready(function () {
function updateForwarderSelectList(type) {
var selectionElement = type + "select"
var selectionElement = type + "select";
var enumVals = [];
var enumTitelVals = [];