Suggestion #37694

code completion with IE9, TYPO3: 4.4-4.7

Added by Guido Fögler 12 months ago. Updated 12 months ago.

Status:New Start date:2012-06-01
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.7 Has patch:No
Votes: 0

Description

Here is, just an idea,
how to get "code completion" running with BROWSER: IE9, TYPO3: 4.4-4.7 [for 4.3 I have another solution].
Steps (1) to (3) should be worth to think about. Step (4) is a more general issue: at a minimum, it will produce the effect that the menu tree is a little bit inoperable.

----------------------------------------------------------------------------------------
(1)
----------------------------------------------------------------------------------------
IN: \typo3\sysext\t3editor\res\jslib\ts_codecompletion\descriptionPlugin.js
CHANGE: at line 46
FROM: descriptionBox = new Element("DIV", {"class": "t3e_descriptionBox"});
TO: descriptionBox = new Element("DIV").addClassName("t3e_descriptionBox");

----------------------------------------------------------------------------------------
(2)
----------------------------------------------------------------------------------------
IN: \typo3\sysext\t3editor\res\jslib\ts_codecompletion\tscodecompletion.js
CHANGE: at lines 84 to 86
FROM: var codeCompleteBox = new Element("DIV", {
"class": "t3e_codeCompleteBox"
});
TO: var codeCompleteBox = new Element("DIV").addClassName("t3e_codeCompleteBox");

----------------------------------------------------------------------------------------
(3)
----------------------------------------------------------------------------------------
IN: \typo3\sysext\t3editor\res\jslib\t3editor.js
CHANGE: at lines 49 to 51
FROM: this.outerdiv = new Element("DIV", {
"class": "t3e_wrap"
});
TO: this.outerdiv = new Element("DIV").addClassName('t3e_wrap');
----------------------------------------------------------------------------------------
(4)
----------------------------------------------------------------------------------------
IN: \typo3\template.php
CHANGE: at line 1297
FROM: public function xUaCompatible($content = 'IE=8') {
TO: public function xUaCompatible($content = 'IE=9') {
----------------------------------------------------------------------------------------

Issues left:
+ the menu tree (see above): workaround: use context menu
+ the text input position cursor scrolls up, when the mouse cursor position scrolls up: workaround: scroll down only

thanks.
Guido

patch_20120612_1.diff - Patch (1) (572 Bytes) Guido Fögler, 2012-06-12 18:05

patch_20120612_2.diff - Patch (2) (495 Bytes) Guido Fögler, 2012-06-12 18:05

patch_20120612_3.diff - Patch (3) (497 Bytes) Guido Fögler, 2012-06-12 18:05

History

Updated by Jigal van Hemert 12 months ago

The problem also exists in master (6.0).
The compatibility setting for IE has been raised to IE9 for master (this is a core issue and should go to the core tracker on forge), but we needed to add a fix for the TCA slider control.

You don't have to consider TYPO3 versions below 4.5 any more. Support for 4.3 was stopped with the release of 4.6 and support for 4.4 stopped when 4.7 was released.

Can you provide a patch for this?

Updated by Guido Fögler 12 months ago

Patches for steps (1) to (3) (performed on 4.5.16).

Gudio Fögler

Also available in: Atom PDF