Project

General

Profile

Actions

Bug #30764

closed

exception side effect in "template setup"

Added by Guido Fögler about 13 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
Category:
t3editor
Target version:
-
Start date:
2011-10-11
Due date:
% Done:

100%

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

Description

try-catch avoids a exception side effect in "template setup"
at "if (!this.mirror.editor)" in typo3/sysext/t3editor/jslib/t3editor.js

problem:
At least in IE9, with "client browser caching" set to another option than "read always" (e.g. automatic or never) the very first touch on "template setup" is rendered as expected.

Any further touch on "template setup" within the same session leads to a incorrect display, due to a thrown exception at "if (!this.mirror.editor)" in case "editor" is undefined.

workaround/solution:
try { if (!this.mirror.editor) return; } catch(e) { return; }


Files

Actions

Also available in: Atom PDF