Skip to content

Layout UI: The "dirty" flag should not be triggered when a user cancels any edit/add #3201

@klonos

Description

@klonos

Steps to reproduce:

  1. Edit any layout.
  2. Click "Add block" in any region, or "Configure" in any existing block.
  3. Expand the "Visibility conditions" fieldset, and click on "Add visibility condition".
  4. Change your mind and either click "Cancel" or the x button.
  5. Hit refresh

Actual behavior:

There is a "dirty" form message.

Expected behavior:

There should not be a "dirty" form message 😄

PS: this is related/similar to #1722 and #1622 ...and if this issue gets a number ending in 22, this will get really weird 😛

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions