Project

General

Profile

Actions

Bug #13446

closed

tx_Workspaces_Service_Fehooks::hook_eofe kills IE7 FE Javascript

Added by Anonymous about 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Target version:
-
Start date:
2011-02-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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;
}


Files

v1.patch (467 Bytes) v1.patch Tolleiv Nietsch, 2011-03-02 10:12
Actions

Also available in: Atom PDF