diff options
author | Gislene Pereira <gislene01@gmail.com> | 2015-10-25 16:20:00 -0300 |
---|---|---|
committer | Gislene Pereira <gislene01@gmail.com> | 2015-10-25 16:21:38 -0300 |
commit | 800f211937e4e09a02779c20c6c79ce6edd833f1 (patch) | |
tree | 6c3ef0c40cb20ac9c28f10454c1a2c41ed3bf0c4 /web-ui/app/js | |
parent | 51bb55adc9830922c5ed86ff22dac02a8d3c877e (diff) |
[#414] - Setting the focus to Recipients To Box and fixing tab index.
Diffstat (limited to 'web-ui/app/js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/compose_box.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mixins/with_mail_edit_base.js | 1 |
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', |