Issue
preventDefault() Javascript function not working on Mouse Up
Environment
TGML Editor
Cause
Users want to override the default function showing the StruxureWare Building Operation properties editor by preventing the default action for the Up function. The Building Operation Properties editor is not launched on Mouse Up but on Mouse Click.
Resolution
- Select The TGML Script
- Add the line "evt.preventDefault();" to the onClick function