My use case is, when a user opens a popup they are still able to resize the web browser which can cause Views to be reloaded if the container size grows or shrinks past its breakpoint. If this happens, I would like to close whatever popups are open at that time.
Is there a way to retrieve a list of all popup id’s that are currently open? I could then iterate through the list calling system.perspective.closePopup() on each id.
There’s no way to access this information from scripting (at this time), although it would be relatively easy to add; I’ve filed an internal ticket to implement something along these lines.
Has this feature been added?
I have a use case where the customer wants to be able to close all ope popup views via an operator action (button click, menu selection, etc.). So a “close all open popup views” feature would be excellent!