Bug #18793
closedDefault Javascript browser detection doesn't work while using GMENU
0%
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)
Updated by Francois Suter over 14 years ago
Can you try the patch I just attached to 0012378? It includes your proposed changes, plus some specific to 0012378.
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from New to Closed
- Target version deleted (
0)
No response in over one year => closed.