Bug #23304
closedWrong behaviour of workspace preview "Enable Frontend Preview"
0%
Description
This was probably introduced with #22446:
Until 4.4, the setting "Enable Frontend Preview" triggered the following behaviour:
unchecked = splitscreen with 3 frames to view live, draft and workspace management
checked = only current workspace is shown in frontend
Current situation:
unchecked = preview shows live version of page, even when in a workspace
checked = splitscreen like mentioned above
Solution: the two generated urls for the preview modes need to be switched to restore the previous behaviour.
(issue imported from #M15290)
Files
Updated by Andreas Kießling over 14 years ago
Just found an error with v1 of the patch: When in Live-Workspace, switching the urls triggered the splitscreen, because the condition in the generated js for the button always fails. v2 takes care of this and checks whether Live-Workspace is requested or another workspace with activated "Enable Frontend Preview"
Updated by Andreas Kießling over 14 years ago
Slightly modified for 4.5 trunk. Sysext version was moved to another location so the patch for 4.4 cannot be applied.
Updated by Francois Suter about 14 years ago
committed:
- to 4.4 in revision 8827
- to trunk in revision 8828