Skip to content
Snippets Groups Projects
Commit 879ef42a authored by Rémy DANIEL's avatar Rémy DANIEL Committed by Andreas Fernandez
Browse files

[BUGFIX] Don't notify the editor about canceled SvgTree Ajax request

If the svg-tree component is embedded in an iframe,
and if the iframe src get changed by navigating to another url,
pending AjaxRequest will be cancelled by the browser,
without letting us the opportunity to properly catch the thrown error.

As a workaround, we register an unload event on the iframe's window,
and mute notifications to the user.

Resolves: #101340
Releases: main, 12.4, 11.5
Change-Id: I8572fde4bf278481a32a459f802af69356ce28a5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80414


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 53b0b819
Branches
Tags
No related merge requests found
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