diff --git a/ChangeLog b/ChangeLog index 8ea024af14b84d16324a9e21c0f7573fb432b047..3b028e887f3e50a10330c215eb8ca49399c07738 100755 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * Fixed bug #17091: Pagetree: undelete recursive deleted pages only undeletes the top node, not the other child nodes of the deleted page (Thanks to Stefan Galinski) * Fixed bug #17204: Pagetree: Only call the singleClick method if the navigation component is visible (Thanks to Stefan Galinski) * Fixed bug #17158: Pagetree: now uses [No title] from language file if no title is there (Thanks to Stefan Galinski) + * Fixed bug #17208: Backwards compatibility broken (top.nav) and JS errors when editing files in file list module 2011-01-22 Steffen Gebert <steffen@steffen-gebert.de> diff --git a/typo3/js/modulemenu.js b/typo3/js/modulemenu.js index 713a775ed22348bd1cae74302450f4abb647b4e3..89acbb51bb37f625e12e52e3a2d6f8fa28958159 100644 --- a/typo3/js/modulemenu.js +++ b/typo3/js/modulemenu.js @@ -284,6 +284,10 @@ TYPO3.ModuleMenu.App = { } component.show() + + // backwards compatibility + top.nav = component; + TYPO3.Backend.NavigationContainer.show(); this.loadedNavigationComponentId = navigationComponentId; }, @@ -343,7 +347,6 @@ Ext.onReady(function() { // keep backward compatibility top.list = TYPO3.Backend.ContentContainer; - top.nav = TYPO3.Backend.NavigationContainer.PageTree; top.list_frame = top.list.getIframe(); top.nav_frame = TYPO3.Backend.NavigationContainer.PageTree;