Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Access trigger element in modal correctly
$(this) does not work in TypeScript, as this is bound to the class or the method, but never to the element. Thus, the target element is fetched from the event. Resolves: #84138 Releases: master Change-Id: I05545d19f5cb10adc3678fa81d81e3b181047bc4 Reviewed-on: https://review.typo3.org/56007 Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Tobi Kretschmann <tobi@tobishome.de> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information