Bug #89201
closedFlexForm - flexform container EventListener not registered on new inline element
100%
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.
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
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
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
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
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
Updated by Henrik Elsner about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 471b7e0f0165076e583df1f07a571f85fd331706.
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
Updated by Henrik Elsner about 5 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5b97fd09e90d42b7ffd2f1bfd13acf9d62b357bc.