Project

General

Profile

Bug #24606 ยป moduleMenuRefresh_core.diff

Administrator Admin, 2011-01-17 00:05

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/1)