diff --git a/ChangeLog b/ChangeLog index a25da81f73a8b86c667cf87972363c944be1fec6..1da2addfcf00822c24cbaae891365ebf3854272f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2007-02-04 Ingmar Schlecht <ingmar@typo3.org> * Instant collapsing for pagetree: The pagetree now doesn't wait for the AJAX response any more when collapsing + * Fixed bug #4817: Clickmenu shows up at the wrong place (Thanks to Benjamin Mack for the patches) 2007-02-03 Oliver Hader <oh@inpublica.de> diff --git a/typo3/template.php b/typo3/template.php index 0f975a3a8ef77b4e0b1b5522db491f3f0d167cba..03dd9c3a836ad0d65dda74e042af31ed234fa6ce 100755 --- a/typo3/template.php +++ b/typo3/template.php @@ -1346,10 +1346,8 @@ $str.=$this->docBodyTagBegin(). GLV_x = GLV_xRel; GLV_y = GLV_yRel; - if (this.safari) { - GLV_x = GLV_xRel + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); - GLV_y = GLV_yRel + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); - } + GLV_x = GLV_xRel + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft); + GLV_y = GLV_yRel + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop); // status = (GLV_x+GLV_gap-GLV_curLayerX[0]) + " | " + (GLV_y+GLV_gap-GLV_curLayerY[0]); if (GLV_isVisible[1]) {