The responsive settings modal not close when save form

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

Carlos Romero created an issue. See original summary.

junaidpv made their first commit to this issue’s fork.

junaidpv’s picture

Status: Active » Fixed

Merged. Thanks!

carlos romero’s picture

U can get me a the credit please?

junaidpv’s picture

junaidpv’s picture

@Carlos Romero. Done

carlos romero’s picture

Thanks!!

Status: Fixed » Closed (fixed)

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

sergio.rizo made their first commit to this issue’s fork.

sergio.rizo changed the visibility of the branch 3453705-v2 to hidden.

sergio.rizo’s picture

Version: 2.1.5 » 2.2.2

If I check any radio button the modal closes. It should only close when clicking 'Save'.
This happens because 'rlb_breakpoint_group' appears in 'options.data' when clicking any radio button. To fix this I added the conditional that checks if options.extraData exists and if so, checks that '_triggering_element_name' is equal to 'op' (it's the name of the 'Save' button).
I made a merge request