The responsive settings modal not close when save form
Issue fork responsive_layout_builder-3453705
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:
- feature/3453705-v2-2.x
changes, plain diff MR !4
- feature/3453705-2.x
changes, plain diff MR !2
- 3453705-v2
compare
Comments
Comment #5
junaidpvMerged. Thanks!
Comment #6
carlos romero commentedU can get me a the credit please?
Comment #7
junaidpvComment #9
junaidpv@Carlos Romero. Done
Comment #10
carlos romero commentedThanks!!
Comment #15
sergio.rizo commentedIf 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