Skip to content

Commit

Permalink
(js) Fix autofocus when composing new mail
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Feb 20, 2019
1 parent e44dce2 commit 72b6072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UI/Templates/MailerUI/UIxMailEditor.wox
Expand Up @@ -70,10 +70,10 @@
md-separator-keys="editor.recipientSeparatorKeys"
md-transform-chip="editor.addRecipient($chip, 'to')"
md-add-on-blur="true"
md-autofocus="editor.isNew()"
md-autocomplete-snap="width">
<md-autocomplete
md-menu-class="md-2-line"
md-autofocus="editor.isNew()"
md-search-text="editor.autocomplete.to.searchText"
md-selected-item="editor.autocomplete.to.selected"
md-items="user in editor.contactFilter(editor.autocomplete.to.searchText)"
Expand Down Expand Up @@ -250,7 +250,7 @@
ck-focus="editor.onHTMLFocus($event)"
ng-model="editor.message.editable.text"
ng-focus="editor.onTextFocus($event)"
md-autofocus="!editor.isNew()"
md-autofocus="::!editor.isNew()"
md-no-resize="md-no-resize"
md-detect-hidden="md-detect-hidden" />
</md-input-container>
Expand Down

0 comments on commit 72b6072

Please sign in to comment.