From 7184d28047860f83e5f4e96bdea56f70bf5719da Mon Sep 17 00:00:00 2001 From: l_samenv Date: Fri, 27 Sep 2024 10:51:31 +0200 Subject: [PATCH] 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' --- client/jsFiles/SEAWebClientGroup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/jsFiles/SEAWebClientGroup.js b/client/jsFiles/SEAWebClientGroup.js index 6c172da..42fd774 100644 --- a/client/jsFiles/SEAWebClientGroup.js +++ b/client/jsFiles/SEAWebClientGroup.js @@ -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);