[BUGFIX] Folder tree in popup throws JS error 16/26816/2
authorAske Ertmann <aske@moc.net>
Tue, 26 Nov 2013 12:35:54 +0000 (13:35 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 14 Jan 2014 16:21:29 +0000 (17:21 +0100)
commit714fca70cba92ca0e2b475d00976e8ce2ddd5218
tree0a15f914c0976c278e13cc0850e28071cb45a76f
parentf68832a239ee5060de2cde9cf5ff4169a8574adc
[BUGFIX] Folder tree in popup throws JS error

When using the folder tree (file, and folder navigation) popup
(browse_links) a JS error occurs when opening new folders.

This is due to incorrect handling of scope.
This patch fixes the error for both RTE and normal link browser.

Change-Id: I25fa0871405e06d6fc084985b3beba6396b872ad
Resolves: #53826
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/26816
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/class.browse_links.php
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
typo3/sysext/rtehtmlarea/Classes/FolderTree.php