jQuery event dialog:aftercreate is deprecated in 10.3.0 and is removed from Drupal:12.0.0

Created on 1 August 2024, 5 months ago
Updated 10 September 2024, 4 months ago

Problem/Motivation

This module currently uses the dialog:aftercreate jQuery event, which is deprecated from Drupal 10.3.0 on - thus it should be replaced with the new window.addEventListener('dialog: aftercreate', (e) => {}); implementation.

See this change record for the deprecation of the dialog:aftercreate jQuery event deprecation: https://www.drupal.org/node/3422670

Proposed resolution

  • Replace deprecated code while preserving its functionality

Remaining tasks

  • Check, if the minimum required core version has to be bumped to 10.3 with this fix

User interface changes

n/a

API changes

n/a

Data model changes

n/a

📌 Task
Status

Needs work

Version

3.0

Component

Code

Created by

🇩🇪Germany hctom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024