Project

General

Profile

Actions

Bug #21390

closed

Missing JS linebreak crashes output within IE 8.0 (non non-compatibility mode)

Added by Marius Muehlberger over 14 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-10-28
Due date:
% Done:

0%

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

Description

The problem is the same like http://bugs.typo3.org/view.php?id=8421.

New about this issue is, that it crashes the output on IE 8.0+ in non-compatibility mode which is default for many users.

The insert of the line-break may not be done within typo3/sysext/cms/tslib/class.tslib_pagegen.php because of the use of minifyJavaScript this will not take effect.

To be changed:
t3lib/class.t3lib_div.php
Line 2509
- return $script;
+ return "\n" . $script;

(issue imported from #M12378)


Files

12378.diff (1.09 KB) 12378.diff Administrator Admin, 2010-08-10 15:05

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18793: Default Javascript browser detection doesn't work while using GMENUClosed2008-05-15

Actions
Actions #1

Updated by Marius Muehlberger over 14 years ago

Sorry, forgot to add Summery: Missing JS linebreak crashes output within IE 8.0 (non non-compatibility mode)

Actions #2

Updated by Francois Suter over 13 years ago

Can you try the attached patch which is designed for 4.4 or trunk? It also contains the fix proposed for 0008421.

Actions #3

Updated by Alexander Opitz almost 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Closed
  • Target version deleted (0)

No response in over one year => closed.

Actions

Also available in: Atom PDF