[TYPO3-core] RFC: #15290: Bug: Wrong behaviour of workspace preview setting "Enable Frontend Preview"

Steffen Gebert steffen at steffen-gebert.de
Mon Aug 23 22:36:22 CEST 2010


Am 23.08.10 19:52, schrieb Andreas Kiessling:
> I guess i also switched users during testing which caused a complete
> reload.
> class.typo3ajax.php was changed in revision 6333 to fix issue #12466
> A response of 0 in this ajax request seems totally legitimate to me, but
> is impossible with the check for "empty".
>
> Attached is v3 for 4.5 and v2 for 4.4
> Forgot one ; in workspacemenu.js

Andreas, what did you change there?
 > +155» » » » if(!response.setWorkspaceId)·{
 > +156» » » » » response.setWorkspaceId·=·0;
 > +157» » » » };·
This can't be valid. The ; has to be removed (but it was also in the 
previous version).

Attached are a cleaner versions, after juggling a bit around with 
white-spaces ;-)

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15290_v4_4-4.diff
Type: text/x-diff
Size: 2085 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100823/be2f2a2b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15290_v4_trunk.diff
Type: text/x-diff
Size: 2165 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100823/be2f2a2b/attachment-0001.diff>


More information about the TYPO3-team-core mailing list