dialogClass option no longer working on Drupal 10.3+

Created on 27 January 2025, 3 months ago

Problem/Motivation

Starting with Drupal 10.3.0, 'dialogClass' has been replaced with 'classes' in core dialog AJAX commands . As a result, the 'autologout-dialog' added with https://www.drupal.org/project/autologout/issues/1243938 no longer gets applied to the Autologout dialog.

Steps to reproduce

  • Trigger the Autologout dialog on Drupal 10.3.0+
  • Inspect the dialog element
  • The 'autologout-dialog' class will not be present on the element

Proposed resolution

Add the 'classes' option and keep 'dialogClass' to maintain backwards compatibility.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇸🇮Slovenia gombi

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