Bug #22875 » 14717_v2.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 },
|
||
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);
|
||
},
|
||
/**
|
- « Previous
- 1
- 2
- Next »