summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValeriy Sizov <vsv2711@gmail.com>2012-10-24 04:11:18 -0700
committerValeriy Sizov <vsv2711@gmail.com>2012-10-24 04:11:18 -0700
commitb985ff6f182e7a3dd1767b8145cd66ebbdc3c8da (patch)
treeab90d1250b8318ce3b60f2cc2acd6f5a2615bdb3
parent012d62b19828ab1f94ae743c92233f48c714cf8b (diff)
parent2d7062d8fc5d4fc8fb8aba83947de7955cd41e3c (diff)
downloadgitlab-ce-b985ff6f182e7a3dd1767b8145cd66ebbdc3c8da.tar.gz
Merge pull request #1781 from iamntz/autofocus_on_issues
Added autofocus for issue title
-rw-r--r--app/views/issues/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml
index ec3edce066a..2ba72975282 100644
--- a/app/views/issues/_form.html.haml
+++ b/app/views/issues/_form.html.haml
@@ -12,7 +12,7 @@
= f.label :title do
%strong= "Subject *"
.input
- = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input"
+ = f.text_field :title, maxlength: 255, class: "xxlarge gfm-input", autofocus: true
.issue_middle_block
.issue_assignee
= f.label :assignee_id do