Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(felamimail/js): improve default focus field when compose email
Browse files Browse the repository at this point in the history
  • Loading branch information
ccheng-dev committed Feb 15, 2023
1 parent 3304652 commit aa9e065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tine20/Felamimail/js/MessageEditDialog.js
Expand Up @@ -666,7 +666,8 @@ Tine.Felamimail.MessageEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
this.initHtmlEditorDD();

_.delay(() => {
if (this.recipientGrid.store.getCount()) {
// recipientGrid should have 1 empty item by default
if (this.recipientGrid.store.getCount() > 1) {
if (!this.subjectField.getValue()) {
this.subjectField.focus();
} else {
Expand Down

0 comments on commit aa9e065

Please sign in to comment.