[BUGFIX] Paste page into pagetree after resetting a pagetree filter 16/44616/2
authorMichael Oehlhof <typo3@oehlhof.de>
Sun, 8 Nov 2015 18:17:02 +0000 (19:17 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 10 Nov 2015 06:06:02 +0000 (07:06 +0100)
Resolves: #69775
Releases: master
Change-Id: I0e00bf6434606eaf967df3320792a62e97ca09db
Reviewed-on: https://review.typo3.org/44616
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Joerg Kummer <service@enobe.de>
Tested-by: Joerg Kummer <service@enobe.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/toppanel.js

index 39b403e..1b2c16b 100644 (file)
@@ -224,6 +224,7 @@ TYPO3.Components.PageTree.TopPanel = Ext.extend(Ext.Panel, {
                this.filteringTree.searchWord = searchWord;
                if (this.filteringTree.searchWord === '') {
                        this.app.activeTree = this.tree;
+                       this.tree.t3ContextNode = this.filteringTree.t3ContextNode;
 
                        textField.setHideTrigger(true);
                        this.filteringTree.hide();