Bug #98067
closeddata-content is not respected within backend modals
100%
Description
Triggering a modal by an anchor element as described in https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/JavaScript/Modules/Modals.html using
<a href="delete.php" class="t3js-modal-trigger" data-title="Delete" data-content="Really delete?">delete</a>
does not replace the standard "Are you shure?" with the content of "data-content".
All other data-* attributes decribed above (data-title, data-severity, data-button-close-text, data-button-ok-text ...) are replaced, but data-content is not.
I tried to trigger the modal within FLUID template in a backend module, so I do not know if triggering within Contoller actions works as expected. But either there is a bug that prevents the modal from using data-content or the API description is wrong.
Thanks a lot for helping and for working on TYPO3!
Updated by Andreas Kienast over 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Oliver Hader about 2 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79753
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79974
Updated by Andreas Fernandez over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5ffe8a1b6df24eb799b98c4d829ee40fe6cf5fda.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.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/+/79961
Updated by Andreas Fernandez over 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset 587690cd25be0a491ed7a216c20dd800c2d83828.