Skip to content
Snippets Groups Projects
Commit 145eb8c7 authored by Frank Naegler's avatar Frank Naegler Committed by Anja Leichsenring
Browse files

[BUGFIX] Add missing implementation of refresh methods

This patch implements the missing refresh methods in the Viewport.js.
Workspaces need this method to refresh the content frame on switching
the workspace in the top menu.
Both methods now reload the according frames.

Resolves: #78421
Releases: master
Change-Id: I1266c873d00e7a811e23c36bc4be5c36b7899797
Reviewed-on: https://review.typo3.org/50362


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMarco Bresch <marco.bresch@starfinanz.de>
Tested-by: default avatarMarco Bresch <marco.bresch@starfinanz.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 25888407
No related merge requests found
......@@ -89,7 +89,7 @@ define(
return $('.t3js-scaffold-content-navigation-iframe').attr('src');
},
refresh: function() {
// refresh navi
$('.t3js-scaffold-content-navigation-iframe')[0].contentWindow.location.reload();
},
calculateScrollbar: function (){
TYPO3.Backend.NavigationContainer.cleanup();
......@@ -133,7 +133,7 @@ define(
return $('.t3js-scaffold-content-module-iframe').attr('src');
},
refresh: function() {
// refresh content
$('.t3js-scaffold-content-module-iframe')[0].contentWindow.location.reload();
},
getIdFromUrl: function() {
if(this.getUrl) {
......
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