Index: t3lib/js/extjs/components/pagetree/javascript/actions.js =================================================================== --- t3lib/js/extjs/components/pagetree/javascript/actions.js (revision 10312) +++ t3lib/js/extjs/components/pagetree/javascript/actions.js (revision ) @@ -281,6 +281,7 @@ TYPO3.Components.PageTree.Configuration.temporaryMountPoint = response; TYPO3.Backend.NavigationContainer.PageTree.addTemporaryMountPointIndicator(); + TYPO3.Backend.NavigationContainer.doLayout(); var selectedNode = TYPO3.Backend.NavigationContainer.PageTree.getSelected(); tree.stateId = 'Pagetree' + TYPO3.Components.PageTree.Configuration.temporaryMountPoint; @@ -740,4 +741,4 @@ this ); } -}; \ No newline at end of file +}; Index: t3lib/js/extjs/components/pagetree/javascript/tree.js =================================================================== --- t3lib/js/extjs/components/pagetree/javascript/tree.js (revision 10261) +++ t3lib/js/extjs/components/pagetree/javascript/tree.js (revision ) @@ -107,7 +107,7 @@ /** * Main applicaton - * + * * @cfg {TYPO3.Components.PageTree.App} */ app: null, @@ -435,6 +435,7 @@ stopDd: function() { if (this.deletionDropZoneId) { Ext.getCmp(this.deletionDropZoneId).hide(); + TYPO3.Backend.NavigationContainer.PageTree.doLayout(); } }, @@ -453,6 +454,7 @@ (nodeHasChildNodes && TYPO3.Components.PageTree.Configuration.canDeleteRecursivly) )) { Ext.getCmp(this.deletionDropZoneId).show(); + TYPO3.Backend.NavigationContainer.PageTree.doLayout(); } this.initDDProxyElement(); }, Index: t3lib/js/extjs/components/pagetree/javascript/app.js =================================================================== --- t3lib/js/extjs/components/pagetree/javascript/app.js (revision 10261) +++ t3lib/js/extjs/components/pagetree/javascript/app.js (revision ) @@ -64,23 +64,6 @@ activeTree: null, /** - * Listeners - * - * The afterlayout wizard relayoutes the navigation container to fix some nasty - * scrollbar issues. - * - * @type {Object} - */ - listeners: { - afterlayout: { - fn: function() { - this.ownerCt.doLayout(); - }, - buffer: 250 - } - }, - - /** * Initializes the application * * Set's the necessary language labels, configuration options and sprite icons by an @@ -187,11 +170,17 @@ if (TYPO3.Components.PageTree.Configuration.indicator !== '') { this.addIndicatorItems(); } + this.doLayout(); + + this.ownerCt.on('resize', function() { + this.doLayout(); + }); }, this); TYPO3.Components.PageTree.App.superclass.initComponent.apply(this, arguments); }, + /** * Adds the default indicator items * @@ -229,6 +218,7 @@ this.removeIndicator(this.temporaryMountPointInfoIndicator); this.getTree().refreshTree(); this.getTree().stateId = 'Pagetree'; + TYPO3.Backend.NavigationContainer.PageTree.doLayout(); }, this ); @@ -250,6 +240,7 @@ TYPO3.Components.PageTree.Configuration.temporaryMountPoint + '

' }); + TYPO3.Backend.NavigationContainer.PageTree.doLayout(); }, /**