mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-05 16:16:49 +00:00
X, Escape, clicking another message and Escape in a pop-out window now all save the draft and close, with a "Draft saved" toast that has Discard (with Undo). The Save or discard question shows only when that save fails. A Reply or Forward closed before the user changed anything leaves no draft. Undo send being on by default no longer asks "Send without a delay?" on servers without delayed sending; only a delay the user picked does. Changed test assertions: the close-guard, priority, account-switch, threading, sign-out, mention, draft-attachments, discard-uploads and save-pending-attachments tests reached saving or discarding through the Save or discard dialog on close, which now only appears after a failed save. They now close directly, or use the Discard button, or check the failed-save question. The send-delay test marks its delay as chosen.