Project

General

Profile

Actions

Bug #64930

closed

Infinite javascript loop when trying to add new IRRE element with RTE fields

Added by Frans Saris over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2015-02-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

If you try to create a new child element with an RTE element the javascript get into a infinite loop in TYPO3/CMS/Rtehtmlarea/HTMLArea/Util/String

    String.prototype.ellipsis = function(length) {
        var temp = this;
        var trimmed = this;
        if (temp.visualLength() > length) {
            trimmed += "...";
            while (trimmed.visualLength() > length) {
                temp = temp.substring(0, temp.length-1);
                    trimmed = temp + "...";
            }
        }
        return trimmed;
    };

Also opening existing children give issues

TYPO3.settings.Textarea.autosize undefined


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #62440: RTE is not loaded when creating new child or when all children are collapsedClosedStanislas Rolland2014-10-24

Actions
Actions

Also available in: Atom PDF