Actions
Bug #82456
closedMultiple usage of "save and preview" button does not reload preview tab
Start date:
2017-09-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
When editing a content element, it's possible that an editor clicks the "save and preview" button after each content change. In this case, the preview tab will not reload and therefor will not show updated content.
Steps to reproduce:
- Add a text content element
- Use "save and preview" button -> new tab opens
- Go back to BE tab and change content
- Click "save and preview" button again -> preview tabs gets focus but does not reload
Introduced with TYPO3 8.7.5 in this commit: https://github.com/TYPO3/TYPO3.CMS/commit/4973abb62beed43e37f6377e10ef1d48ba8c1c8f
Using a simple `previewWin.location.reload();` in `viewOnClick` solves the issue but breaks the initial click on "save and preview". Perhaps adding a time stamp GET parameter is another option? Or adding some on load event?
Actions