alps/compose.html: fix autofocus on wrong field
This commit is contained in:
parent
1d0630dde9
commit
1565a335db
1 changed files with 8 additions and 2 deletions
|
@ -24,11 +24,17 @@
|
|||
value="{{.Message.ToString}}"
|
||||
multiple
|
||||
list="emails"
|
||||
{{ if not .Message.To }} autofocus{{ end }}
|
||||
{{ if not .Message.ToString }} autofocus{{ end }}
|
||||
/>
|
||||
|
||||
<label>Subject</label>
|
||||
<input type="text" name="subject" id="subject" value="{{.Message.Subject}}" {{ if .Message.To }} autofocus{{ end }}/>
|
||||
<input
|
||||
type="text"
|
||||
name="subject"
|
||||
id="subject"
|
||||
value="{{.Message.Subject}}"
|
||||
{{ if .Message.ToString }} autofocus{{ end }}
|
||||
/>
|
||||
|
||||
<label>Attachments</label>
|
||||
<input type="file" name="attachments" id="attachments" multiple>
|
||||
|
|
Loading…
Reference in a new issue