Project

General

Profile

Actions

Task #37694

closed

code completion with IE9, TYPO3: 4.4-4.7

Added by Guido Fögler almost 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
t3editor
Target version:
-
Start date:
2012-06-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Files

patch_20120612_1.diff (572 Bytes) patch_20120612_1.diff Patch (1) Guido Fögler, 2012-06-12 18:05
patch_20120612_2.diff (495 Bytes) patch_20120612_2.diff Patch (2) Guido Fögler, 2012-06-12 18:05
patch_20120612_3.diff (497 Bytes) patch_20120612_3.diff Patch (3) Guido Fögler, 2012-06-12 18:05
Actions

Also available in: Atom PDF