[TYPO3-core] RFC: #11633: Enable Frontend Preview does not work until switched

Steffen Kamper info at sk-typo3.de
Thu Nov 5 20:13:17 CET 2009


Hi,

Rupert Germann schrieb:
> hi Steffen,
> 
> patch looks obvious, but can you give us a hint how to test it?
> 

there is a JS condition in the view link of a page.
If version is enabled, switch to draft workspace. Now the view-link has 
this condition.

Easy to test:
Open firebug console. In toolbar workspace menu check "Enable Frontend 
preview"
paste this in the console
if(WorkspaceFrontendPreviewEnabled) alert('on');
end press strg + return. You see the alert.
Now uncheck the option and paste again, you see the alert again. Means - 
condition is always true, the switch has no effect.

No repeat same with applied patch, you see the difference.

vg Steffen


More information about the TYPO3-team-core mailing list