Extensible
Extensible copied to clipboard
Cleanup dirty record when editor window is closed with close tool in panel header
When an event record is edited in EventWindow and the server rejects to save the record, the store contains a dirty record. If the user then clicks the cancel button, a cleanup is triggered that will remove the dirty event record from the store. If instead the user click the close tool (in panel header), no cleanup is performed and the calendar shows inconsistent information. This PR ensure that the store cleanup is performed when the user abort editing with the close button.