A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
I'm using episerver find with ajax functionality and pagination and I noticed that
FindApi()is adding the onclick attribute for tracking but it is not exposing the function itself.Thus when i'm using the pagination on ajax call i loose the tracking onclick script since it is triggered on
window onloadonly and the function is defined on theaddEvetListeneras anonymous inbindWindowEvents.It would be nice to extract the function like
attachOnClickAttribute(sorry the code in find.js comes minified already):And then expose the find api object:
In a way that on js after clicking on the pagination i could trigger something like this