Project

General

Profile

Actions

Bug #89201

closed

FlexForm - flexform container EventListener not registered on new inline element

Added by Henrik Elsner about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2019-09-18
Due date:
% Done:

100%

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

Description

When creating a new section inside of a new inline element the eventListener is not registered for the new element.
This causes the addition of a new section to fail until the parent element is saved one time.

/typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.ts

$('.t3js-flex-container-add').on('click', function(this: HTMLElement, e: Event): void {

Changing this to

$(document).on('click', '.t3js-flex-container-add', function(this: HTMLElement, e: Event): void {

should fix this issue.

Issue also exists in Version 8 where JavaScript is used.

Actions #1

Updated by Gerrit Code Review about 5 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61756

Actions #2

Updated by Gerrit Code Review about 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61756

Actions #3

Updated by Gerrit Code Review about 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61756

Actions #4

Updated by Gerrit Code Review about 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61756

Actions #5

Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61777

Actions #6

Updated by Henrik Elsner about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review about 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61779

Actions #8

Updated by Henrik Elsner about 5 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF