beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: back button widget is optionally activable.
17 months ago, Edouard Tisserant
b9fea435d886
Parents
e0c9ec66a036
Children
ac6bbf44491e
649f91dc4db3
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 Thu Jan 09 18:21:36 2025 +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 Thu Jan 09 18:21:36 2025 +0100
+++ b/svghmi/widget_back.ysl2 Mon Jan 20 17:59:39 2025 +0100
@@ -44,5 +44,5 @@
}
widget_defs("Back") {
- activable();
+ optional_activable();
}