Modal overwrites another one

Created on 9 February 2024, 9 months ago
Updated 12 August 2024, 3 months ago

Problem/Motivation

I had a node edit form opened in a ctools modal window and there was an IEF field that also opened ctools modal to select field value. The problem is that the original modal got overwritten by the second one.

Proposed resolution

The solution was to save the previous modal into "stack" (hidden div, so events would not be destroyed). And later restore it.

It's enabled with flag in the provided patch, doesn't apply to all modals automatically.

πŸ› Bug report
Status

Needs review

Version

1.21

Component

Code

Created by

πŸ‡ͺπŸ‡ͺEstonia ram4nd Tallinn

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

Comments & Activities

Production build 0.71.5 2024