Re: Allow external script in multi-block html template to be headerized

2020-05-25 Thread James Yong
Hi all, Created JIRA issue OFBIZ-11741. Also uploaded a patch usimg jstree library as example. The library will only be loaded when required. Regards, James On 2020/05/25 15:34:01, James Yong wrote: > Hi all, > > Currently setting multi-block=true for the html-template, allows inline >

Allow external script in multi-block html template to be headerized

2020-05-25 Thread James Yong
Hi all, Currently setting multi-block=true for the html-template, allows inline script within the freemarker to be transformed to an external script. This helps to reduce the CSP errors. Propose to allow external scripts within the multi-block html template, to be rendered within the html head