Index: typo3/js/clickmenu.js =================================================================== --- typo3/js/clickmenu.js (revision 7913) +++ typo3/js/clickmenu.js (working copy) @@ -25,8 +25,8 @@ clickURL: 'alt_clickmenu.php', // URL to the clickmenu.php file, see template.php ajax: true, // template.php -> isCMLayers check mousePos: { X: null, Y: null }, + delayClickMenuHide: false, - /** * main function, called from most clickmenu links * @param table table from where info should be fetched @@ -160,6 +160,8 @@ if (/MSIE5/.test(navigator.userAgent) && obj.id === 'contentMenu0') { this._toggleSelectorBoxes('visible'); } + } else if (obj && Element.visible(obj)) { + this.delayClickMenuHide = true; } }, @@ -170,7 +172,12 @@ * @result nothing */ hide: function(obj) { - Element.hide(obj); + this.delayClickMenuHide = false; + window.setTimeout(function() { + if (!Clickmenu.delayClickMenuHide) { + Element.hide(obj); + } + }, 500); }, /**