summaryrefslogtreecommitdiff
path: root/web-ui/app/js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js')
-rw-r--r--web-ui/app/js/mail_view/ui/compose_box.js2
-rw-r--r--web-ui/app/js/mixins/with_mail_edit_base.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/web-ui/app/js/mail_view/ui/compose_box.js b/web-ui/app/js/mail_view/ui/compose_box.js
index 28f6dc83..92588310 100644
--- a/web-ui/app/js/mail_view/ui/compose_box.js
+++ b/web-ui/app/js/mail_view/ui/compose_box.js
@@ -70,7 +70,7 @@ define(
this.after('initialize', function () {
this.renderComposeBox();
- this.select('subjectBox').focus();
+ this.select('toBox').focus();
this.on(this.select('cancelButton'), 'click', this.showNoMessageSelected);
this.on(document, events.mail.deleted, this.mailDeleted);
diff --git a/web-ui/app/js/mixins/with_mail_edit_base.js b/web-ui/app/js/mixins/with_mail_edit_base.js
index b4a2b0c8..b80a48cd 100644
--- a/web-ui/app/js/mixins/with_mail_edit_base.js
+++ b/web-ui/app/js/mixins/with_mail_edit_base.js
@@ -38,6 +38,7 @@ define(
cancelButton: '#cancel-button',
trashButton: '#trash-button',
toArea: '#recipients-to-area',
+ toBox: '#recipients-to-box',
ccArea: '#recipients-cc-area',
bccArea: '#recipients-bcc-area',
ccsTrigger: '#ccs-trigger',