#18793Default Javascript browser detection doesn't work while using GMENU
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"><br /> /*<![CDATA[*/<br /> <!—var browserName=navigator.appName;<br />………………………………………………….<br />Or it should be :</p> <p><script type="text/javascript"><br /> /*<![CDATA[*/<br /> <!—<br />var browserName=navigator.appName;<br />………………………………………………….</p> <p>To correct this, just modify the file : typo3//sysext/cms/tslib/class.tslib_pagegen.php</p> <p>at line 723 :</p> <p>- $_scriptCode = ‘<br />+ $_scriptCode = ‘\n<br />(issue imported from #M8421)</p></script>
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.