Bug #24384 ยป externalTreeRefresh.patch
t3lib/class.t3lib_befunc.php (Arbeitskopie) | ||
---|---|---|
t3lib_div::callUserFunction($updateSignals[$set], $params, $ref);
|
||
$signals[] = $params['JScode'];
|
||
} else {
|
||
if ($set == 'updatePageTree' || $set == 'updateFolderTree') {
|
||
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();
|
||
}';
|
typo3/js/modulemenu.js (Arbeitskopie) | ||
---|---|---|
// keep backward compatibility
|
||
top.list = TYPO3.Backend.ContentContainer;
|
||
top.nav = TYPO3.Backend.NavigationIframe;
|
||
top.nav = TYPO3.Backend.NavigationContainer.PageTree;
|
||
top.list_frame = top.list.getIframe();
|
||
top.nav_frame = TYPO3.Backend.NavigationIframe.getIframe();
|
||
top.nav_frame = TYPO3.Backend.NavigationContainer.PageTree;
|
||
top.TYPO3ModuleMenu = TYPO3.ModuleMenu.App;
|
||
top.content = {
|
||
nav_frame: TYPO3.Backend.NavigationIframe.getIframe(),
|
||
nav_frame: TYPO3.Backend.NavigationContainer.PageTree,
|
||
list_frame: TYPO3.Backend.ContentContainer.getIframe(),
|
||
location: TYPO3.Backend.ContentContainer.getIframe().location,
|
||
document: TYPO3.Backend.ContentContainer.getIframe()
|
typo3/js/backend.js (Arbeitskopie) | ||
---|---|---|
// clear information about which entry in nav. tree that might have been highlighted.
|
||
top.fsMod.navFrameHighlightedID = [];
|
||
if (top.TYPO3.Backend.NavigationIframe.isVisible()) {
|
||
top.TYPO3.Backend.NavigationIframe.refresh();
|
||
if (top.TYPO3.Backend.NavigationContainer.PageTree) {
|
||
top.TYPO3.Backend.NavigationContainer.PageTree.refreshTree();
|
||
}
|
||
top.nextLoadModuleUrl = url;
|