summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-24 12:13:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-01-24 12:13:16 +0000
commit683e1c5d73525b81fd3de8b989af79cde7676507 (patch)
tree8fe207157e717d525ad619e5814fe4b4ba77aefc /app
parent1c1755d2783eea023f9a5d548d9518ad2fbba871 (diff)
downloadredmine-683e1c5d73525b81fd3de8b989af79cde7676507.tar.gz
redmine-683e1c5d73525b81fd3de8b989af79cde7676507.zip
Merged r2266 from trunk (#2522).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2308 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/new.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/issues/new.rhtml b/app/views/issues/new.rhtml
index 732a562a3..32bd9e5f5 100644
--- a/app/views/issues/new.rhtml
+++ b/app/views/issues/new.rhtml
@@ -14,6 +14,8 @@
:with => "Form.serialize('issue-form')",
:complete => "Element.scrollTo('preview')"
}, :accesskey => accesskey(:preview) %>
+
+ <%= javascript_tag "Form.Element.focus('issue_subject');" %>
<% end %>
<div id="preview" class="wiki"></div>