Commit b985ff6f182e7a3dd1767b8145cd66ebbdc3c8da
Exists in
master
and in
4 other branches
Merge pull request #1781 from iamntz/autofocus_on_issues
Added autofocus for issue title
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/issues/_form.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | = f.label :title do | 12 | = f.label :title do |
13 | %strong= "Subject *" | 13 | %strong= "Subject *" |
14 | .input | 14 | .input |
15 | - = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input" | 15 | + = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input", autofocus: true |
16 | .issue_middle_block | 16 | .issue_middle_block |
17 | .issue_assignee | 17 | .issue_assignee |
18 | = f.label :assignee_id do | 18 | = f.label :assignee_id do |