mirror of
https://github.com/moparisthebest/mail
synced 2024-12-23 07:48:48 -05:00
[WO-72] fix focus directive when opening writer mode to focus on the correct input
This commit is contained in:
parent
6e144a23e1
commit
7cbc185d93
@ -209,7 +209,7 @@ define(function(require) {
|
||||
if (value === true) {
|
||||
$timeout(function() {
|
||||
element[0].focus();
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div class="headers">
|
||||
<p>
|
||||
<span>To:</span>
|
||||
<input type="email" ng-model="to" ng-change="verifyTo()" ng-class="{'label': toSecure === true, 'label label-primary': toSecure === false}" tabindex="1" focus-me="writerOpen" auto-size="to" spellcheck="false">
|
||||
<input type="email" ng-model="to" ng-change="verifyTo()" ng-class="{'label': toSecure === true, 'label label-primary': toSecure === false}" tabindex="1" focus-me="writerOpen && !writerReply" auto-size="to" spellcheck="false">
|
||||
</p>
|
||||
<p>
|
||||
<span>Cc:</span>
|
||||
@ -27,7 +27,7 @@
|
||||
</div><!--/.subject-box-->
|
||||
|
||||
<div class="body">
|
||||
<p ng-model="body" contentEditable="true" ng-change="updatePreview()" tabindex="4"></p>
|
||||
<p ng-model="body" contentEditable="true" ng-change="updatePreview()" tabindex="4" focus-me="writerOpen && writerReply"></p>
|
||||
|
||||
<div class="encrypt-preview">
|
||||
<p>-----BEGIN ENCRYPTED PREVIEW-----<br>{{ciphertextPreview}}<br>-----END ENCRYPTED PREVIEW-----</p>
|
||||
|
Loading…
Reference in New Issue
Block a user