[BUGFIX] Faulty expand/collapse behavior in Element Browser
On using the element browser in combination with files, the expand/collapse behavior is wrong. On opening a collapsed folder, an AJAX call fetches the sub-nodes that will be added to the DOM tree. However, the calling scope of the original rendering process and the AJAX call differ a lot. The only possibility to get this working is to transfer the scope and rebuild it in the AJAX context. Change-Id: I1bf7b56ae2d82d15e0246bd651f77793adde705b Fixes: #45859 Releases: 6.0, 6.1, 6.2 Reviewed-on: https://review.typo3.org/22934 Reviewed-by: Henrik Ziegenhain Tested-by: Henrik Ziegenhain Reviewed-by: Markus Schubath Tested-by: Markus Schubath Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring
Showing
- typo3/class.browse_links.php 29 additions, 0 deletionstypo3/class.browse_links.php
- typo3/js/tree.js 9 additions, 3 deletionstypo3/js/tree.js
- typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php 25 additions, 3 deletions...lasses/Controller/FileSystemNavigationFrameController.php
- typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php 9 additions, 2 deletionstypo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
Please register or sign in to comment