Question

Tata Consultancy Services
IN
Last activity: 5 Jan 2022 21:08 EST
Close parent tab from Modal window
I have a requirement to close the parent tab after submitting a modal local action launched from that tab. When I call the Cancel action just after launching the local action in modal, it closes the parent tab once the modal is submitted. but here the issue is the tab also gets closed when Cancel is selected from the modal.
Is there a way we can simply close the modal action without calling the Cancel action or we need some custom javascript to achieve this?