Skip to content

Fix element action triggers on Craft 4 element indexes#18947

Closed
timkelty wants to merge 4531 commits into
5.xfrom
4.x
Closed

Fix element action triggers on Craft 4 element indexes#18947
timkelty wants to merge 4531 commits into
5.xfrom
4.x

Conversation

@timkelty
Copy link
Copy Markdown
Contributor

Summary

  • Resolve Craft 4 menu-based element actions by finding detached action triggers after appendBodyHtml() finishes.
  • Use Craft.formatInputId() for trigger IDs so action markup matches the rest of the CP.
  • Keep the fix scoped to CP action trigger initialization.

Testing

  • Verified locally in the CP entry index with Playwright in Dia.
  • Confirmed Edit entry now opens the entry editor slideout instead of reloading the index.
  • Confirmed bulk selection still disables View entry and Edit entry as expected.

brianjhanson and others added 30 commits May 13, 2026 14:02
Just the first pass, more refinement to come
[ci skip]
…o-adminadminlogin-after-migrations

[6.x] Don't double-prepend the cpTrigger
[ci skip]
…ption-during-uninstall

# Conflicts:
#	CHANGELOG.md
…transaction-exception-during-uninstall

[6.x] Ignore missing transaction during plugin uninstall
…-templates

[6.x] Add configurable compiled templates path
… error retries

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
riasvdv and others added 28 commits May 20, 2026 15:19
# Conflicts:
#	CHANGELOG.md
#	composer.json
#	composer.lock
#	src/controllers/ElementIndexesController.php
#	src/controllers/ElementsController.php
#	src/web/assets/matrix/dist/MatrixInput.js
#	src/web/assets/matrix/dist/MatrixInput.js.map
#	src/web/twig/Extension.php
[6.x] Add back the auth page powered by logo
# Conflicts:
#	CHANGELOG.md
#	src/config/app.php
#	src/services/Entries.php
[6.x] Fixed an issue preventing saving when link fields were present
[ci skip]
[6.x] Make sure money value is truthy
Update changelog: URL should be Url
…n-existing-section-returns-all-entries

[6.x] Fix invalid query filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants