webmail: after clicking on the "create mailbox" button, automatically put focus on the input field for the new mailbox name

This commit is contained in:
Mechiel Lukkien
2025-01-30 11:02:12 +01:00
parent f9280b0891
commit c8fd9ca664
2 changed files with 4 additions and 0 deletions

View File

@ -5203,6 +5203,7 @@ const newMailboxView = (xmb: api.Mailbox, mailboxlistView: MailboxlistView, othe
),
),
)
name.focus()
}),
),
dom.div(
@ -5562,6 +5563,7 @@ const newMailboxlistView = (msglistView: MsglistView, requestNewView: requestNew
),
)
remove()
name.focus()
}),
),
dom.div(