Commit 8f69889f authored by Jochen Roth's avatar Jochen Roth Committed by Oliver Bartsch
Browse files

[BUGFIX] Trigger modal dismiss on cancel

Currently when a language in site configuration
is removed the modal cancel button does not
remove/cancel the modal.

This has been fixed by adding a trigger to close
the modal when the cancel button was clicked.

Resolves: #96016
Releases: master, 11.5
Change-Id: I100d84a7fa5f6a84d1045fec0a63d7c20789b42d

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent 0dbf1378
......@@ -226,12 +226,15 @@ class SiteLanguageContainer extends HTMLElement {
active: true,
btnClass: 'btn-default',
name: 'no',
trigger: (): void => {
text: TYPO3.lang['buttons.confirm.delete_record.yes'] || 'Yes, delete this record',
btnClass: 'btn-warning',
name: 'yes',
trigger: () => {
trigger: (): void => {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment