Bug #24402
closedtoo much recursion in jsfunc.layermenu.js in FF / out of memory in IE
0%
Description
Having a TMENU_LAYERS for up to 4 Levels (with 30 Menüitems in total).
Recently Updated from Typo3 4.3.7 to 4.3.9 (2010-12-17).
Layermenu stopped working at all. Javascript Errors in Firefox and Internet Explorer, Firefox in Line 195 of jsfunc.layermenu.js, Internet Explorer reports Stack Overflow and afterwars always (at every click) "Out of Memory".
If i comment that eval in line 195 out, the menu is working (but offcourse not properly since the menus wont be hidden on mouseout, but the recursion does not happen)
if (GL_isObjCss(GLV_lastKey[WMid]) && GL_getObjCss(GLV_lastKey[WMid])) { eval('GL'+WMid+'_hideCode()'); }
the error itself however seems to originate in typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php and is caused by the inline-javascript it procudes.
i had to find a solution very fast (customer a bit angry ^^) so i did a restore of the tmenu_layers.php from typo3 4.3.7 - and everything worked fine again.
have not tried the 4.3.8 version of tmenu_layers
i have some other sites that use tmenu_layers, and had them updated from 4.3.7 to 4.3.9 last week - and those are still working. so i could not reproduce it with similar sites.
i have had no other javascript inclusions at the page except thedefault (with the linkTo_UnCryptMailto function and such)
(issue imported from #M16826)