I have a widget that is using the jimu/dijit/Popup class. I have noticed that when the popup is closed with the X button or with the close() method, the widget is automatically destroyed and cannot be accessed from the WidgetManager anymore.
Is there a way to prevent the widget to be destroyed when the popup is closed?
Maxime,
Not that I know of. Opening a widget inside a jimu popup is very unconventional. The popup will always destroy on close.
Ok thank you for your answer. Then, I'll use hide() instead for the X button