[TYPO3-core] RFC #12625: JSMENU's fallback menu name is not unique

Benjamin Mack benni at typo3.org
Wed Dec 23 19:05:32 CET 2009


Hey all,

this is a SVN patch request.

Severity: low, easy

Branches: trunk, 4.3

BT: http://bugs.typo3.org/view.php?id=12625

Problem:
The JS variables that are created by JSMENU, are hardcoded (if no name 
for the menu was selected before), thus if you add two JS menus, the 
menus won't work anymore.

Solution:
Instead of the fallback "JSmenu" for the menu name, a unique Hash built 
upon the "microtime()" and t3lib_div::shortMD5() methods are built.

All the best,
Benni.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12625.patch
Type: text/x-patch
Size: 809 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091223/b2fed3ab/attachment.bin>


More information about the TYPO3-team-core mailing list