Critical CSS breaks AJAX Dialogs (popups) in D10

Created on 18 October 2023, about 1 year ago
Updated 29 December 2023, 11 months ago

Problem/Motivation

The Critical CSS module breaks the AJAX Dialogs even on the admin pages.

The error in the console:
An error occurred during the execution of the Ajax response: TypeError: Cannot read properties of undefined (reading 'push')

Steps to reproduce

Try to trigger any AJAX request: edit the layout from the Layout Paragraphs module, open the Media library dialog, open custom AJAX Dialogs, or edit the paragraph in the dialog.

Proposed resolution

function isEnabled() should ignore not only admin pages but AJAX responses as well.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine tarazingo Kyiv

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