1 Reply Latest reply on Jan 4, 2017 4:31 AM by Vamitul

    script menu action invokes itself

    jakec88782761 Level 1

      Hello,

       

      I'm wondering why my function gets called automatically when the script runs without me clicking on the menu item.

       

      customMenuAction.addEventListener( "onInvoke", importTranslations(), false );

       

      This runs everytime.