Select to view content in your preferred language

How to programmatically close all View's Popups in 4.X

3786
1
Jump to solution
05-12-2017 12:17 PM
SamuelAbati
Occasional Contributor

I've figured out how to disable to popup (although the documentation does not mention this anywhere)

view.popupManager.enabled

But it does not close popups that are already open, how can I achieve that?

0 Kudos
1 Solution

Accepted Solutions
ThomasSolow
Frequent Contributor

Try view.popup.close()

View solution in original post

1 Reply
ThomasSolow
Frequent Contributor

Try view.popup.close()