[BUGFIX] Recognize changes in FlexForm section containers
If section containers are changed (i.e. new containers are added or existing ones are deleted), the change is now recognized by adding a class `has-change` to the appropriate container. This assures the modal on exit is shown to the backend user to avoid discarding onsaved changes. Resolves: #95290 Releases: main, 11.5 Change-Id: Iff85a98f5f93876d1151909d28641ac6cca70874 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73706 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Container/FlexFormContainerContainer.ts 1 addition, 0 deletions...Script/FormEngine/Container/FlexFormContainerContainer.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Container/FlexFormSectionContainer.ts 2 additions, 0 deletions...peScript/FormEngine/Container/FlexFormSectionContainer.ts
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Container/FlexFormContainerContainer.js 1 addition, 1 deletion...Script/FormEngine/Container/FlexFormContainerContainer.js
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Container/FlexFormSectionContainer.js 1 addition, 1 deletion...vaScript/FormEngine/Container/FlexFormSectionContainer.js
Please register or sign in to comment