--- a/svghmi/gen_index_xhtml.ysl2 Thu Mar 12 13:14:38 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2 Thu Mar 12 13:15:54 2020 +0100
@@ -69,8 +69,6 @@
noindex > HMI_CURRENT_PAGE
}
const "categories", "exsl:node-set($_categories)";
- const "_indexed_hmitree" apply "$hmitree", mode="index";
- const "indexed_hmitree", "exsl:node-set($_indexed_hmitree)";
// returns all directly or indirectly refered elements
@@ -263,8 +261,12 @@
const "_detachable_elements", "func:detachable_elements($hmi_pages)";
const "detachable_elements", "$_detachable_elements[not(ancestor::*/@id = $_detachable_elements/@id)]";
+
//////////////// HMI Tree Index
+ const "_indexed_hmitree" apply "$hmitree", mode="index";
+ const "indexed_hmitree", "exsl:node-set($_indexed_hmitree)";
+
template "*", mode="index" {
param "index", "0";
param "parentpath", "''";
@@ -822,7 +824,6 @@
template "widget[@type='Jump']", mode="widget_defs" {
param "hmi_element";
| on_click: function(evt) {
- | console.log(evt);
| switch_page(this.args[0]);
| },
| init: function() {