Project

General

Profile

Bug #11972 » moduleMenuRefresh_core.diff

Susanne Moog, 2011-01-16 17:26

View differences:

t3lib/class.t3lib_befunc.php (Arbeitskopie)
t3lib_div::callUserFunction($updateSignals[$set], $params, $ref);
$signals[] = $params['JScode'];
} else {
if ($set === 'updatePageTree') {
$signals[] = '
if (top && top.TYPO3.Backend.NavigationContainer.PageTree) {
top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree();
}
';
} else if ($set == 'updateFolderTree') {
$signals[] = '
if (top && top.TYPO3.Backend.NavigationIframe) {
top.TYPO3.Backend.NavigationIframe.refresh();
}';
switch ($set) {
case 'updatePageTree':
$signals[] = '
if (top && top.TYPO3.Backend.NavigationContainer.PageTree) {
top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree();
}
';
break;
case 'updateFolderTree':
$signals[] = '
if (top && top.TYPO3.Backend.NavigationIframe) {
top.TYPO3.Backend.NavigationIframe.refresh();
}';
break;
case 'updateModuleMenu':
$signals[] = '
if (top && top.TYPO3.ModuleMenu.App) {
top.TYPO3.ModuleMenu.App.refreshMenu();
}';
break;
}
}
}
(1-1/3)