Skip to content
Snippets Groups Projects
Commit 18e53b04 authored by Andreas Kienast's avatar Andreas Kienast Committed by Frank Nägler
Browse files

[BUGFIX] Use correct element for `TYPO3.Backend.ContentContainer.getUrl()`

`TYPO3.Backend.ContentContainer.setUrl()` writes the URL into a different
element than `TYPO3.Backend.ContentContainer.getUrl()` tries to read,
resulting in a wrong URL.

This patch changes the behavior of `getUrl()` to read the URL from the
correct element.

Resolves: #78229
Related: #52877
Releases: master
Change-Id: Ie70c89d4a195fd37b18c11a86d2a672760430621
Reviewed-on: https://review.typo3.org/50204


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Tested-by: default avatarRiccardo De Contardi <erredeco@gmail.com>
Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
parent 11668448
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ define(
});
},
getUrl: function() {
return $('.t3js-scaffold-content-navigation-iframe').attr('src');
return $('.t3js-scaffold-content-module-iframe').attr('src');
},
refresh: function() {
console.log('refresh content');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment