SVGHMI: removed debug code forgotten here and there.
--- a/svghmi/svghmi.js Fri Aug 21 14:29:03 2020 +0200
+++ b/svghmi/svghmi.js Mon Aug 24 09:48:35 2020 +0200
@@ -240,7 +240,6 @@
function send_hmi_value(index, value) {
if(index > last_remote_index){
- console.log("updated local variable ",index,value);
updates[index] = value;
requestHMIAnimation();
return;
@@ -416,7 +415,6 @@
function edit_value(path, valuetype, callback, initial, size) {
let [keypadid, xcoord, ycoord] = keypads[valuetype];
- console.log('XXX TODO : Edit value', path, valuetype, callback, initial, keypadid);
edit_callback = callback;
let widget = hmi_widgets[keypadid];
widget.start_edit(path, valuetype, callback, initial, size);
@@ -461,7 +459,6 @@
eltsub.inactive.setAttribute("style", "display:none");
if(eltsub.active_style !== undefined)
eltsub.active.setAttribute("style", eltsub.active_style);
- console.log("active", eltsub);
};
function widget_inactive_activable(eltsub) {
if(eltsub.active_style === undefined)
@@ -469,5 +466,4 @@
eltsub.active.setAttribute("style", "display:none");
if(eltsub.inactive_style !== undefined)
eltsub.inactive.setAttribute("style", eltsub.inactive_style);
- console.log("inactive", eltsub);
-};
+};
--- a/svghmi/widget_display.ysl2 Fri Aug 21 14:29:03 2020 +0200
+++ b/svghmi/widget_display.ysl2 Mon Aug 24 09:48:35 2020 +0200
@@ -7,7 +7,6 @@
frequency = 5;
dispatch(value, oldval, index) {
this.fields[index] = value;
- console.log(value, index);
this.element.textContent = this.args.length == 1 ? vsprintf(this.args[0],this.fields) : this.fields.join(' ');
}
}
--- a/svghmi/widget_dropdown.ysl2 Fri Aug 21 14:29:03 2020 +0200
+++ b/svghmi/widget_dropdown.ysl2 Mon Aug 24 09:48:35 2020 +0200
@@ -158,7 +158,6 @@
0,
this.menu_offset - spanslength);
}
- console.log(this.menu_offset);
this.set_partial_text();
},
// Setup partial view text content
--- a/svghmi/widget_jsontable.ysl2 Fri Aug 21 14:29:03 2020 +0200
+++ b/svghmi/widget_jsontable.ysl2 Mon Aug 24 09:48:35 2020 +0200
@@ -22,7 +22,6 @@
}
dispatch(value, oldval, index) {
- console.log("mhooo", index);
this.cache[index] = value;
this.do_http_request();
}