AnsweredAssumed Answered

Add Dialog prior to Closing Widget

Question asked by krobine on Feb 23, 2017
Latest reply on Feb 28, 2017 by krobine

I'd like to add a dijit/ConfirmDialog prior to closing a widget of type dockable-panel. So I would like to overwrite the onClose event. Thoughts on how to do this. If I add the ConfirmDialog to onClose(), its too late to close it.  Has anyone done this?  I can probably hide the close button and add my own. Examples of this?