svghmi/gen_index_xhtml.ysl2
branchsvghmi
changeset 2850 e38654ec6281
parent 2849 bb89a2fbb4e0
child 2851 8d15c6238e62
--- a/svghmi/gen_index_xhtml.ysl2	Mon Mar 02 16:25:35 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2	Mon Mar 02 16:30:29 2020 +0100
@@ -523,7 +523,7 @@
 
         | var detachable_elements = {
         foreach "$detachable_elements"{
-        |     "«@id»" : {element: id("«@id»"), parent:id("«../@id»")}`if "position()!=last()" > ,`
+        |     "«@id»":[id("«@id»"), id("«../@id»")]`if "position()!=last()" > ,`
         }
         | }