[BUGFIX] Faulty expand/collapse behavior in Element Browser 34/22934/3
authorOliver Hader <oliver@typo3.org>
Wed, 7 Aug 2013 17:01:53 +0000 (19:01 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 17 Sep 2013 17:46:18 +0000 (19:46 +0200)
commit070a6cd49231d88b77d34c93afede166855a2ce5
tree6a8552f10e9634e6685065895e4710621e2853c4
parentd16f55106fb55dda6b55b48f5f4e7eb81f9942cc
[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
typo3/class.browse_links.php
typo3/js/tree.js
typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php