Bug #17318 ยป 0005655_v2.diff
typo3/alt_main.php (Arbeitskopie) | ||
---|---|---|
$pageModule = t3lib_BEfunc::isModuleSetInTBE_MODULES($newPageModule) ? $newPageModule : 'web_layout';
|
||
$menuFrameName = 'menu';
|
||
if ($GLOBALS['BE_USER']->uc['noMenuMode'] == 'icons') {
|
||
if ($GLOBALS['BE_USER']->uc['noMenuMode'] === 'icons') {
|
||
$menuFrameName = 'topmenuFrame';
|
||
}
|
||
... | ... | |
*/
|
||
var currentModuleLoaded = "";
|
||
function goToModule(modName, cMR_flag, addGetVars) { //
|
||
currentModuleLoaded = modName;
|
||
top.'.$menuFrameName.'.goToModule(modName, cMR_flag, addGetVars);
|
||
if (top.'.$menuFrameName.' && top.'.$menuFrameName.'.goToModule) {
|
||
currentModuleLoaded = modName;
|
||
top.'.$menuFrameName.'.goToModule(modName, cMR_flag, addGetVars);
|
||
} else {
|
||
window.setTimeout(function() { top.goToModule(modName, cMR_flag, addGetVars); }, 500);
|
||
}
|
||
}
|
||
/**
|
||
... | ... | |
if ($module) {
|
||
$this->mainJScode.='
|
||
// open in module:
|
||
window.setTimeout("top.goToModule(\''.$module.'\',false,\''.$params.'\');",1000);
|
||
top.goToModule(\''.$module.'\',false,\''.$params.'\');
|
||
';
|
||
}
|
||
}
|