Actions
Bug #17929
closedUse prototype functions instead of own code, where it's possible in clickmenu.js
Start date:
2007-12-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In clickmenu.js the window object is extended by two functions window.getDimensions and window.getScrollOffset.
Both are already supported by prototype framwork with identical function names and very similar code, so no need for own functions here.
Solution: Use document.viewport.getDimensions() and document.viewport.getScrollOffsets() instead.
Comment:
This is a code cleanup, with low priority
(issue imported from #M6990)
Files
Actions