svghmi/gen_index_xhtml.ysl2
branchsvghmi
changeset 2848 c525b1083653
parent 2847 dffade5c83d3
child 2849 bb89a2fbb4e0
--- a/svghmi/gen_index_xhtml.ysl2	Mon Mar 02 10:29:41 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2	Mon Mar 02 14:43:21 2020 +0100
@@ -549,11 +549,11 @@
             |             hmi_widgets["«.»"]`if "position()!=last()" > ,`
             }
             |         ],
-            |         required_detachables: [
+            |         required_detachables: {
             foreach "$required_detachables" {
-            |             detachable_elements["«@id»"]`if "position()!=last()" > ,`
-            }
-            |         ]
+            |             "«@id»": detachable_elements["«@id»"]`if "position()!=last()" > ,`
+            }
+            |         }
             |     }`if "position()!=last()" > ,`
         }
         | }