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

Rupert Germann rupi at gmx.li
Fri Nov 6 12:56:49 CET 2009


hi Steffen,

+1 by reading and testing

greets
rupert


Steffen Kamper schrieb:
> 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