UX: autofocus the edit reason text field
This commit is contained in:
parent
db1b0e2235
commit
3ad1423c53
|
@ -37,7 +37,7 @@
|
|||
{{#if canEdit}}
|
||||
{{#if showEditReason}}
|
||||
<div class="edit-reason-input">
|
||||
{{text-field value=editReason tabindex="7" id="edit-reason" maxlength="255" placeholderKey="composer.edit_reason_placeholder"}}
|
||||
{{text-field autofocus="true" value=editReason tabindex="7" id="edit-reason" maxlength="255" placeholderKey="composer.edit_reason_placeholder"}}
|
||||
</div>
|
||||
{{else}}
|
||||
<a {{action "displayEditReason"}} class="display-edit-reason">{{i18n 'composer.show_edit_reason'}}</a>
|
||||
|
|
|
@ -284,9 +284,10 @@
|
|||
margin-left: 10px;
|
||||
top: 18px;
|
||||
#edit-reason {
|
||||
margin: 0;
|
||||
margin: -7px 0 0;
|
||||
padding: 5px;
|
||||
float: left;
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
#reply-title {
|
||||
|
|
Loading…
Reference in New Issue