Issue Bug Closed

#13446tx_Workspaces_Service_Fehooks::hook_eofe kills IE7 FE Javascript

Anonymous 02/28/11, 17:27 updated 10/02/18, 12:32

Description

When using the preview mode in TYPO3 frontend most of Javascript wont work in Internet Explorer 7 because of the hook “hook_feofe”.

The entire content of workspaces/Resources/Private/Templates/Preview/Preview.html is interpreted and inserted at the beginning of the PHP and so kills the HTML integrity.

A way of fixing this is to set the following lines in the hook:

$workspaceVars = t3lib_div::_GP('tx_workspaces_web_workspacesworkspaces');
if(count($workspaceVars) == 0) {
return;
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.