[TYPO3-core] RFC: Refactored clickmenu to speed up the BE

Andreas Wolf typo3ml at andreaswolf.info
Sat Nov 10 11:31:45 CET 2007


Hello Benni,

Benjamin Mack schrieb:
> Thanks for all your testing, both team and external. I'm glad this patch 
> finally went through (I initially made it in March :)).
> 
> If something comes up during the next alphas and betas about the 
> changes, just let me know.
I just tested it and the click menu is really faster from the second
click on. But I noticed one small error - in a German backend the left
part of the menu is hidden. I suppose this is because the German menu is
a lot wider than the English one (which doesn't cause any problems).

The problem seems to be somehow related to prototype's Position object
and the way it calculates the position. I changed
typo3/js/clickmenu.js:47 to the following:

 return { top: this.deltaY, left: 25 };

and the menu showed up correctly in English and German.

Cheers,

Andreas


More information about the TYPO3-team-core mailing list