svghmi/widget_jump.ysl2
changeset 3685 570a738239f4
parent 3626 dfcd13683362
--- a/svghmi/widget_jump.ysl2	Fri Nov 18 10:44:56 2022 +0100
+++ b/svghmi/widget_jump.ysl2	Wed Nov 23 11:27:55 2022 +0100
@@ -143,8 +143,8 @@
             otherwise value "$page_desc/arg[1]/@value";
         }
         const "target_page_path" choose {
-            when "arg" value "$hmi_pages_descs[arg[1]/@value = $target_page_name]/path[1]/@value";
-            otherwise value "$page_desc/path[1]/@value";
+            when "arg" value "$hmi_pages_descs[arg[1]/@value = $target_page_name]/path[not(@assign)]/@value";
+            otherwise value "$page_desc/path[not(@assign)]/@value";
         }
 
         if "not(func:same_class_paths($target_page_path, path[1]/@value))"