Skip to content
Snippets Groups Projects
Commit de70d736 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Hader
Browse files

[BUGFIX] Fix NavigationContainer iframe loading

Some browsers (reported were Safari and Firefox) are not able to
load the file tree when invoking the module the first time.
This is because the iframe src is initially set to about:blank
and ModuleMenu calls both, iframe.setAttribute('src', …) and
iframe.contentWindow.location.reload(). This seems to cause
browsers to abort load as the current URL is being reloaded.

This is actually a result of a refactoring in #52877 where
the condition navUrl != currentUrl previously correctly
issued a `setUrl()` call but afterwards was swapped to
call `refresh()` instead (or rather additionally).

Releases: 10.4
Resolves: #96475
Resolves: #92556
Related: #52877
Change-Id: Ib20c05e0ca6ed1de62cabf86b6a46a3399636fab
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72932


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent d14e6f2d
Branches
Tags
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