[BUGFIX] Folder tree in popup throws JS error 33/25633/8
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:04:24 +0000 (17:04 +0100)
commit58bb71535f6c66fc713eda70fae5a05163a1ca7a
tree4b1ae95ca03445034932e6aaa716457edb1b0031
parent5fe23203f3697b0fa2681e7c920ce98b231def90
[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/25633
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
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