Message Boards

Fragment with Inline JavaScript-Tag and SennaJS-Trouble

thumbnail
Fredi B, modified 2 Years ago.

Fragment with Inline JavaScript-Tag and SennaJS-Trouble

Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts

So our customer wants to include some Inline JavaScript-Tags in a fragment.

Both Script-Tags load functions from an API he used in his old - non Liferay-Portal.

All works fine when directly navigating to the page with the fragment.

However when using the navigation there seems to be a problem in combination with SennaJS and the ScriptTags are not loading correctly.

data-senna-off on the Navigation link is not a solution because this page might have multiple Links that lead to it, that are not existing yet.

Anyone knows a solution for this problem?