#36719Javascript in header without script tags
Description
I am using TYPO3 4.6.8 and TMENU_LAYERS. On some pages (in my case the one with the indexed_search plugin) the JavaScript code (starting with GLV_) is displayed on the page. A quick look in the source showed, that the <script> tags were missing around the TMENU_LAYERS JS code. But only, when the cache is active. A &no_cache=1 in the url and the display looked OK.</p> <p>In TYPO3 4.5.15 everything worked fine.</p> <p>I did some research and found that: <a href="http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=18513" target="_blank" rel="noreferrer">http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=18513</a></p> <p>And I think I found the error in the TYPO3 core:<br />In tslib_fe::INTincScript() disappeared the line</p> <p>
$this->JSCode = $this->additionalHeaderData['JSCode'];</p> <p>(compared 4.5.15 with 4.6.8). I cannot see any meaning or intention behind that change, so I suppose this is the bug.</p></script>
Reviews 7
- TYPO3_4-5 19265[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- TYPO3_4-7 19263[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- TYPO3_4-6 19264[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- main 18948[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- main 19266[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- TYPO3_6-0 19262[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing
- TYPO3_4-6 18949[BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing