beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: back button widget is optionally activable.
py2compat
17 months ago, Edouard Tisserant
101b79fc46e8
Parents
9ade1b678069
Children
017cdfaf9959
SVGHMI: back button widget is optionally activable.
+ update generated xslt file
2 files changed, 1 insertions(+), 3 deletions(-)
+0
-2
svghmi/gen_index_xhtml.xslt
+1
-1
svghmi/widget_back.ysl2
--- a/svghmi/gen_index_xhtml.xslt Wed Dec 11 09:31:35 2024 +0100
+++ b/svghmi/gen_index_xhtml.xslt Mon Jan 20 17:59:39 2025 +0100
@@ -10345,8 +10345,6 @@
</xsl:text>
<xsl:text> let widget = hmi_widgets[id];
</xsl:text>
- <xsl:text> if(widget.curr_value != undefined) return;
-</xsl:text>
<xsl:text> widget.do_init();
</xsl:text>
<xsl:text> });
--- a/svghmi/widget_back.ysl2 Wed Dec 11 09:31:35 2024 +0100
+++ b/svghmi/widget_back.ysl2 Mon Jan 20 17:59:39 2025 +0100
@@ -44,5 +44,5 @@
}
widget_defs("Back") {
- activable();
+ optional_activable();
}