Actions
Bug #18793
closedDefault Javascript browser detection doesn't work while using GMENU
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-05-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Roll over on GMENU doesn't work in Typo3 4.2 with PHP 5.2.
The javascript error occurs : version not defined.
It seems that the rendered Javascript has not a break return after the beginning comment :
<script type="text/javascript">
/*<![CDATA[*/
<!--var browserName=navigator.appName;
..........................................................
Or it should be :
<script type="text/javascript">
/*<![CDATA[*/
<!--
var browserName=navigator.appName;
..........................................................
To correct this, just modify the file : typo3//sysext/cms/tslib/class.tslib_pagegen.php
at line 723 :
- $_scriptCode = '
+ $_scriptCode = '\n
(issue imported from #M8421)
Actions