Project

General

Profile

Bug #30764 » 0002-BUGFIX-t3editor-try-catch-avoids-exception-side-effe.patch

Guido Fögler, 2011-10-11 01:50

View differences:

typo3/sysext/t3editor/jslib/t3editor.js
// update the line numbers
updateLinenum: function() {
// escape if editor is not yet loaded
if (!this.mirror.editor) return;
try { if (!this.mirror.editor) return; } catch(e) { return; }
var bodyContentLineCount = this.mirror.lineNumber(this.mirror.lastLine());
disLineCount = this.linenum.childNodes.length;
(1-1/3)