SVGHMI: back button widget is optionally activable.
+ update generated xslt file
--- 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();
}