Bug #22875 » 14717.diff
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 },
|
||
doNotHide: 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.doNotHide = true;
|
||
}
|
||
},
|
||
... | ... | |
* @result nothing
|
||
*/
|
||
hide: function(obj) {
|
||
Element.hide(obj);
|
||
this.doNotHide = false;
|
||
window.setTimeout(function() {
|
||
if (!Clickmenu.doNotHide) {
|
||
Element.hide(obj);
|
||
}
|
||
}, 500);
|
||
},
|
||
/**
|