Script error when navigating menu in TGML graphic in 1.4. Graphic was working fine in 1.3.
EcoStruxure Building Operation
- Enterprise Server
- Automation Server
In releases prior to 1.4, graphic objects were not unloaded when navigated away from. This has been fixed in 1.4.
As a result of this change, If a TGML has a navigate in a script (by using invoke) this could cause a script error if there are scripts on parent elements.
- Open the graphic
- Navigate to the script and edit, or view in source mode
- Add evt.stopPropagation(); before the invoke in the Click() function.
For an updated version of the component without the error, go to the community: Navigation Menu (JF/Denmark) rev 2.