diff --git a/client/jsFiles/SEAWebClientCommunication.js b/client/jsFiles/SEAWebClientCommunication.js index 89b3113..4809b09 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); } } }