mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:14:39 +03:00
webmail: more helpful error message when emptying a mailbox that is already empty
and mention in a tooltip too that "empty mailbox" only affects messages in the mailbox, not submailboxes or their messages. prompted by a question on matrix/irc
This commit is contained in:
@ -5157,7 +5157,7 @@ const newMailboxView = (xmb: api.Mailbox, mailboxlistView: MailboxlistView, othe
|
||||
}),
|
||||
),
|
||||
dom.div(
|
||||
dom.clickbutton('Empty mailbox', async function click() {
|
||||
dom.clickbutton('Empty mailbox', attr.title('Remove all messages from the mailbox, but not mailboxes inside this mailbox or their messages.'), async function click() {
|
||||
if (!window.confirm('Are you sure you want to empty this mailbox, permanently removing its messages? Mailboxes inside this mailbox are not affected.')) {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user