fix wrongly triggered message after a parameter change

after pressing the return key, no message should appear like
'You changed a field without pressing the return key'
This commit is contained in:
l_samenv
2024-09-27 10:51:31 +02:00
parent 2e21f52071
commit 7184d28047

View File

@ -267,6 +267,7 @@ function create_input_row(s, component) {
var row = left.parentNode;
row.style.backgroundColor = "orangered";
// Request for command
input.actualValue = input.value;
sendCommand(s, name + " " + input.value);
input.blur();
} else {
@ -283,6 +284,7 @@ function create_input_row(s, component) {
}, 3600000);
var row = left.parentNode;
row.style.backgroundColor = "orangered";
input.actualValue = value;
// Request for command
sendCommand(s, command + " " + value);
resizeTextfield(input);