Project

General

Profile

Bug #22875 » 14717_v2.diff

Administrator Admin, 2010-06-17 00:17

View differences:

typo3/js/clickmenu.js (working copy)
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
......
if (/MSIE5/.test(navigator.userAgent) && obj.id === 'contentMenu0') {
this._toggleSelectorBoxes('visible');
}
} else if (obj && Element.visible(obj)) {
this.delayClickMenuHide = true;
}
},
......
* @result nothing
*/
hide: function(obj) {
Element.hide(obj);
this.delayClickMenuHide = false;
window.setTimeout(function() {
if (!Clickmenu.delayClickMenuHide) {
Element.hide(obj);
}
}, 500);
},
/**
(2-2/2)