JS error on non-bootstrap4 dialogs

Created on 24 January 2024, 11 months ago
Updated 9 February 2024, 11 months ago

Problem/Motivation

When enabling this module, you can get errors on other dialogs that use Drupal's default:

cannot call methods on dialog prior to initialization; attempted to call method 'close'

This can stop further execution of javascript if aggregation is enabled.

Steps to reproduce

Enable this module.
Use any dialog-enabled link that has data-dialog-type=modal.
Cancel / close the modal. See the error on console.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain idiaz.roncero Madrid

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