Problem/Motivation

Gin adds the node edit form sidebar to modal dialogs.

Steps to reproduce

Open the “Change site assignment for this [content type]” modal.
An empty sidebar element is rendered at the bottom of the modal and appears cut off.

Proposed resolution

The modal form is now built with the _wrapper_format query parameter temporarily set to drupal_modal, so themes like Gin can correctly detect it as a modal request. This prevents Gin from adding node-edit-form-specific UI elements, such as the sidebar/meta fields, to the Sites selection modal.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork sites-3601178

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gashunk created an issue. See original summary.

gashunk’s picture

Status: Active » Needs review

Added a patch to solve this.

hydra’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.