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:
@ -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);
|
||||
|
Reference in New Issue
Block a user