Project

General

Profile

Actions

Bug #36719

closed

Javascript in header without script tags

Added by Markus Kappe almost 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2012-04-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

In TYPO3 4.5.15 everything worked fine.

I did some research and found that: http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=18513

And I think I found the error in the TYPO3 core:
In tslib_fe::INTincScript() disappeared the line

$this->JSCode = $this->additionalHeaderData['JSCode'];

(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.


Files

bug_36719.diff (686 Bytes) bug_36719.diff Patch file Kurt Gusbeth, 2013-03-07 11:04
bug_36719.diff (733 Bytes) bug_36719.diff Typo3 4.7.10 Patch Kurt Gusbeth, 2013-03-11 10:52
Actions

Also available in: Atom PDF