From b9a1e7db99281bbc1c00f439994559d69daffb60 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 25 Apr 2025 17:05:27 +0200 Subject: [PATCH] Changed updateValue... --- client/jsFiles/SEAWebClientCommunication.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/jsFiles/SEAWebClientCommunication.js b/client/jsFiles/SEAWebClientCommunication.js index 83ae160..c73a54d 100644 --- a/client/jsFiles/SEAWebClientCommunication.js +++ b/client/jsFiles/SEAWebClientCommunication.js @@ -313,10 +313,14 @@ function updateValue(component) { let options = elem.childNodes; for (var j = 0; j < options.length; j++) { - if (options[j].label == comp_value) { + if (options[j].label == component.value) { elem.value = j + 1; } } + } else if (type == "pushbutton") { + console.log('update pushbutton'); + console.log('component.name:', component.name); + console.log('element', elem); } } }