Actions
Bug #41063
closedRTE: TYPO3 4.7.4 RTE doesn't load in FE because of "console" in appendToLog
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
With TYPO3 4.7.4 the RTE doesn't load in IE 7,8,9 in "Frontend Edit".
Steps to reproduce
- download IntrodutionPackage 4.7.4 and install
- in ExtManager install feedit
- set config.admPanel = 1 in MainTemplate at root
- open in a site and activate in AdminPanel "Display edit panels" and "Display edit icons"
- edit an text Element with IE
IE9 is only showing the loading screen of RTE but no Information of an error, use IE8 to get a Error Message: "Object expected at line 865"
This is in htdocs/intro474/typo3/sysext/rtehtmlarea/htmlareahtmlarea.js the function
appendToLog: function (editorId, objectName, functionName, text, type) {
var str = 'RTE[' + editorId + '][' + objectName + '::' + functionName + ']: ' + text;
if (typeof(type) === 'undefined') {
var type = 'info';
}
if (typeof(console) !== 'undefined' && typeof(console) === 'object') {
// If console is TYPO3.Backend.DebugConsole, write only error messages
if (Ext.isFunction(console.addTab)) {
if (type === 'error') {
console[type](str);
}
} else {
-----> this is line 865 console[type](str);
}
}
}
Actions