Skip to content
Snippets Groups Projects
Commit 6887ea3b authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Andreas Fernandez
Browse files

[BUGFIX] Fix frameset module property for FileList

BackendController::generateJavascript() creates the
top.fsMod object to provide frameset modules an easy
way of storing their state. The FileList module e.g.
stores the current folder identifier. Therefore, after
switching back to the FileList module, the previously
selected folder is used.

This behaviour is now restored by replacing the
"instanceof" check, which always evaluated to FALSE,
with a typeof check. It's furthermore now ensured
that the id will always be set, even if recentIds
is not yet an object.

Resolves: #92811
Releases: master, 10.4
Change-Id: I36227775bfadfca4d43a719b1508f78976b6e342
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67628


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 17746d95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment