Project

General

Profile

Bug #22395 ยป 14026.diff

Administrator Admin, 2010-04-27 09:57

View differences:

typo3/classes/class.modulemenu.php (working copy)
'prefix' => $submoduleNavigationFramePrefix,
'description' => $submoduleDescription,
'navigationFrameScript' => $submoduleData['navFrameScript'],
'navigationFrameScriptParam' => $submoduleData['navFrameScriptParam']
);
if($moduleData['navFrameScript']) {
......
$submoduleNavigationFrameScript = $subModuleData['navigationFrameScript'] ? $subModuleData['navigationFrameScript'] : $subModuleData['parentNavigationFrameScript'];
$submoduleNavigationFrameScript = t3lib_div::resolveBackPath($submoduleNavigationFrameScript);
// add GET parameters for sub module to the navigation script
$submoduleNavigationFrameScript = $this->appendQuestionmarkToLink($submoduleNavigationFrameScript).$subModuleData['navigationFrameScript'];
// Add navigation script parameters if module requires them
if ($subModuleData['navigationFrameScriptParam']) {
$submoduleNavigationFrameScript = $this->appendQuestionmarkToLink($submoduleNavigationFrameScript) . $subModuleData['navigationFrameScriptParam'];
}
$navFrameScripts[$parentModuleName] = $submoduleNavigationFrameScript;
$javascriptCommand = '
top.currentSubScript = "'.$subModuleData['originalLink'].'";
if (top.content.list_frame && top.fsMod.currentMainLoaded == mainModName) {
    (1-1/1)