svghmi/widgets_common.ysl2
branchsvghmi
changeset 2954 b5dccd0d99ac
parent 2951 506fe9272660
child 2955 64e603b84aa3
--- a/svghmi/widgets_common.ysl2	Sun May 10 16:36:41 2020 +0200
+++ b/svghmi/widgets_common.ysl2	Sun May 10 17:01:09 2020 +0200
@@ -38,7 +38,6 @@
 
     |   "«@id»": new «$widget/@type»Widget ("«@id»",[«$args»],[«$indexes»],{
     apply "$widget", mode="widget_defs" with "hmi_element",".";
-    apply "$widget", mode="widget_subscribe" with "hmi_element",".";
     |   })`if "position()!=last()" > ,`
 }
 
@@ -124,13 +123,6 @@
     | }
 }
 
-
-// default : normal subscribing
-template "widget", mode="widget_subscribe" {
-}
-// page aren't subscribers
-template "widget[@type='Page']", mode="widget_subscribe";
-
 function "defs_by_labels" {
     param "labels","''";
     param "mandatory","'yes'";