See this PF ticket: https://github.com/primefaces/primefaces/issues/5712
CSP does not work in PF8 due to the Barca layout.js.
I documented my thoughts on why here: https://github.com/primefaces/primefaces/pull/5721
Barcelona CSP errors in PF8
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi Melloware,
I don't fully understand, but if you add a target name to 'off (click), is it resolved?
Code: Select all
this.menulinks.off('click.menuitem').on('click.menuitem', function(e) { // instead of off('click')
Github Profile: https://github.com/mertsincan
@Aragorn,
I went through all OFF click events in layout.js and gave them a correct qualifier and I have confirmed doing the above FIXED it!!
So this probably a daunting task but I think you need to go through every premium theme and for all "click" events add .off('click.xxx').on('click.xxx');
Mello
I went through all OFF click events in layout.js and gave them a correct qualifier and I have confirmed doing the above FIXED it!!
So this probably a daunting task but I think you need to go through every premium theme and for all "click" events add .off('click.xxx').on('click.xxx');
Mello
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks a lot @melloware
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests