You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should ensure that a status change is issued for closure.
Additional context
This feature would allow a watcher monitoring FloatPanel status to send an update on window closure. For example, I was running a dtale session with an html iframe pointing to the dtale session url inside of the floatpanel. I wanted to be able to kill the session when I close the floatpanel.
The text was updated successfully, but these errors were encountered:
Issue
FloatPanel does not initiate a status change when clicking the close icon. I think it is due to JsPanel not sending a status change for close.
Example Solution
Add onbeforeclose option to config in _scripts:
onbeforeclose: function(panel, status, closedByUser) { data.status = 'closed' }
This should ensure that a status change is issued for closure.
Additional context
This feature would allow a watcher monitoring FloatPanel status to send an update on window closure. For example, I was running a dtale session with an html iframe pointing to the dtale session url inside of the floatpanel. I wanted to be able to kill the session when I close the floatpanel.
The text was updated successfully, but these errors were encountered: