Skip to content
Snippets Groups Projects
Commit c96aea58 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

select correct account for composer when unified inbox was open, ref #803

parent 323c6644
No related branches found
No related tags found
No related merge requests found
......@@ -943,7 +943,9 @@ var Mail = {
// set 'from' dropdown to current account
// TODO: fix selector conflicts
$('.mail-account').val(Mail.State.currentAccountId);
if (Mail.State.currentAccountId !== -1) {
$('.mail-account').val(Mail.State.currentAccountId);
}
// focus 'to' field automatically on clicking New message button
var toInput = composer.el.find('input.to');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment