Skip to content
Snippets Groups Projects
Commit 172868cc authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[TASK] Pass dataset to context menu actions and drop jQuery in them

The context menu module now passes the dataset bound to a context menu
item to the respective callback action, excluding `callback-action` and
`callback-module`.

The context menu items bound to `this` in the respective callback actions
are not required anymore, allowing to ditch jQuery in the
`context-menu-actions` modules. For this reason, binding the context
menu item to `this` is deprecated, usages will trigger a deprecation log
entry in the browser's console.

Resolves: #98168
Releases: main
Change-Id: Ibaf3c5b343323dcd29bd9aae3212ebcee91d83ef
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75491


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 5b4c0b92
Branches
Tags
No related merge requests found
Showing with 156 additions and 160 deletions
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