Index: typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php =================================================================== --- typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php (Revision 7052) +++ typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php (Arbeitskopie) @@ -424,8 +424,10 @@ '; $GLOBALS['TSFE']->JSeventFuncCalls['onload']['GL_initLayers()']= 'GL_initLayers();'; $GLOBALS['TSFE']->JSeventFuncCalls['onload'][$this->WMid]= 'GL_restoreMenu("'.$this->WMid.'");'; - $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove']['GL_getMouse(e)']= 'GL_getMouse(e);'; // Should be called BEFORE any of the 'local' getMouse functions! - $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove'][$this->WMid]= 'GL'.$this->WMid.'_getMouse(e);'; + // Should be called BEFORE any of the 'local' getMouse functions! + // is put inside in a try catch block to avoid JS errors in IE + $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove']['GL_getMouse(e)']= 'try{GL_getMouse(e);}catch(ex){};'; + $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove'][$this->WMid]= 'try{GL'.$this->WMid.'_getMouse(e);}catch(ex){};'; $GLOBALS['TSFE']->JSeventFuncCalls['onmouseup'][$this->WMid]= 'GL_mouseUp(\''.$this->WMid.'\',e);'; $GLOBALS['TSFE']->divSection.=implode($this->divLayers,chr(10)).chr(10); Index: typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php =================================================================== --- typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php (Revision 7052) +++ typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php (Arbeitskopie) @@ -424,8 +424,10 @@ '; $GLOBALS['TSFE']->JSeventFuncCalls['onload']['GL_initLayers()']= 'GL_initLayers();'; $GLOBALS['TSFE']->JSeventFuncCalls['onload'][$this->WMid]= 'GL_restoreMenu("'.$this->WMid.'");'; - $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove']['GL_getMouse(e)']= 'GL_getMouse(e);'; // Should be called BEFORE any of the 'local' getMouse functions! - $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove'][$this->WMid]= 'GL'.$this->WMid.'_getMouse(e);'; + // Should be called BEFORE any of the 'local' getMouse functions! + // is put inside in a try catch block to avoid JS errors in IE + $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove']['GL_getMouse(e)']= 'try{GL_getMouse(e);}catch(ex){};'; + $GLOBALS['TSFE']->JSeventFuncCalls['onmousemove'][$this->WMid]= 'try{GL'.$this->WMid.'_getMouse(e);}catch(ex){};'; $GLOBALS['TSFE']->JSeventFuncCalls['onmouseup'][$this->WMid]= 'GL_mouseUp(\''.$this->WMid.'\',e);'; $GLOBALS['TSFE']->divSection.=implode($this->divLayers,chr(10)).chr(10);