Problem/Motivation

When closing the modal through X button, the save events aren't restored on the button.

Steps to reproduce

  1. Open a node edit form
  2. Click "Save"
  3. Modal opens and click "X"
  4. Click "Save" again - Nothing happens

Proposed resolution

Set window.mcbpDialogOpen = false; in the close event.

Remaining tasks

User interface changes

API changes

Data model changes

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

baikho created an issue. See original summary.

baikho’s picture

Status: Active » Needs review
baikho’s picture

Assigned: baikho » Unassigned

  • joseph.olstad committed ff6b4d8f on 2.0.x
    feat: #3555385 Can't save after closing modal
    
    By: @baikho
    By: @joseph....

  • joseph.olstad committed 99c45efb on 2.0.x authored by baikho
    feat: #3555385 Can't save after closing modal
    
    By: @baikho
    By: @joseph....
joseph.olstad’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.

joseph.olstad’s picture

Thanks @baikho for this fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.