I’m trying to close automatically a window/popup after the ‘Save’/Cancel buttons where clicked. I use the ‘onEventSave’ and ‘onEventCancel’ and I do get in to the event but I can’t close the current window, I tried top.close(), self.close() and some more JS options but none were successful.
The ‘lightbox’ works fine and closes as needed but I need to close everything, the entire browser window/tab, I’m integrating it into a script that needs to make an appointment. Through a URL I open the schedule in a pop-up, create the event and then when saving I want to close the entire pop-up/schedule.
If you have sample available on the internet please attach link.
Closing popup window and lightbox in the onEventSave would not be correct as event is not yet saved.