Issue Bug Closed

#35371JMENU headerdata are written without <script>-Tag with UserInt on page

Franz Kugelmann 03/29/12, 16:29 updated 05/02/15, 22:57

Description

In current 4.6.x there is an issue with JMENU:
If you have a JMENU on a page and also an USER_INT element in there, then the JavaScript-Code written to headerData is displayed on the webpage, because the surrounding <script>-Tag is missing.<br />This happens only if the page is loaded from cache.<br />In tslib_fe::INTincScript the marker for headerData is replaced with $this-&gt;additionalHeaderData, but in there the surrounding <script>-tag is missing.<br />A working (but very dirty) hotfix is attached (mainly for better understanding the issue), works for me currently but there must be a better way. I will dig deeper as soon as time is available.</p></script>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.