Hi!
I have some views that have some buttons that open pop-ups.
However, if I change the view the pop-ups stay open. Is there any way of when exiting view close "all open pop-ups from that view"?
Thx!
Hi!
I have some views that have some buttons that open pop-ups.
However, if I change the view the pop-ups stay open. Is there any way of when exiting view close "all open pop-ups from that view"?
Thx!
Put a message handler on your popups that contain a script to close itself.
When you navigate away from an associated page, execute system.perspective.sendMessage() with the name of the handler you created on all the popups.