Skip to content

Confirmation modal should not appear if no changes are made #11097

@tdipisa

Description

@tdipisa

Description

Every time the permissions tab of the resource properties is opened and then you want to close it without providing any changes, the confirmation dialog box appears asking if you are sure to leave without applying changes.

How to reproduce

Case 1

  • Open the resource properties from home
  • Open the permission tab
  • Close the permission tab

Case 2

  • Open a resource (like a map)
  • Open the resource properties panel without applying any changes to the map
  • Leave the map

Expected Result

The state of the application should be consistent and no confirmation modal should appear with no changes provided.

Current Result

Case 1
The confirmation dialog appears even if changes have not been performed
Image

Case 2
The map is marked as dirty even if no changes have been provided
Image

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions