#30764exception side effect in "template setup"
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; }