Detecting language please wait for.......
Hi, I have a plugin in SDL Web 8.5 with a button on the ribbon toolbar. In my JS, there is a ‘isEnabled’ function that is automatically called when loading the page so depending on the user context I can decide whether this button is shown or not.
The problem is that this function is called at every single click the user does on a folder or any other Tridion item. Is there a way to skip these calls as I only need one single call on the page load event?
Thank you in advance