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

Fabrizio Branca news at _REMOVETHIS_fabrizio-branca.de
Mon Aug 3 18:16:27 CEST 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11633

Branches:
trunk

Problem:
The frontend preview does not work until switched at least once with 
"Enable Frontend Preview". Links using t3lib_befunc::viewOnClick() will 
open the wrong url, because they check if 
top.WorkspaceFrontendPreviewEnabled if true, which it is in any case, 
because it is initialized with strings and string "false" is true...

Solution:
Replace strings by 0 and 1 (see patch)

Bye,

Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11633.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090803/241d1bcc/attachment.txt 


More information about the TYPO3-team-core mailing list