diff -r 9771a724af09 -r 705e34c6fe93 svghmi/widget_input.ysl2 --- a/svghmi/widget_input.ysl2 Mon Aug 03 18:25:23 2020 +0200 +++ b/svghmi/widget_input.ysl2 Tue Aug 04 11:53:39 2020 +0200 @@ -26,7 +26,7 @@ } | }, | on_op_click: function(opstr) { - | let new_val = change_hmi_value(this.get_idx(0), opstr); + | let new_val = this.change_hmi_value(0, opstr); // if "$have_value"{ // | this.value_elt.textContent = String(new_val); // /* TODO gray out value until refreshed */ @@ -37,7 +37,7 @@ | }, | edit_callback: function(new_val) { - | apply_hmi_value(this.get_idx(0), new_val); + | this.apply_hmi_value(0, new_val); // if "$have_value"{ // | this.value_elt.textContent = String(new_val); // /* TODO gray out value until refreshed */