I have a new .js file in src/main/resources/js/.
<resource type="download" name="charts.js" location="/js/charts.js"/>
Oddly, this is working for another plugin of mine.
What is wrong? Anyone know?
It could be possible that your js-file is included in batch.js with appropriate module-key and location e.g.
/* module-key = 'atlassian.plugin.key:web-resource.key', location = '/js/charts.js' */
The resources, defined under a web resource module, are loaded in a single batch to reduce the number of HTTP requests from the browser. To turn it off add a param element as follows:
<resource type="download" name="charts.js" location="/js/charts.js">
<param name="batch" value="false"/>
Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs