Gil Ronen Posted June 29, 2019 Share Posted June 29, 2019 Ihave a widget that uses javascript as part of an app. When I embed the widget on a module from my app I get the JS I included from the app. How can I include JS to the widget on different pages in the suite? Link to comment Share on other sites More sharing options...
newbie LAC Posted June 30, 2019 Share Posted June 30, 2019 \IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('location_section.js', 'app')); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.