Makes subject field get focus on 'New issue' form (#2522).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2266 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ffa6c5fe3e
commit
f6282f9600
|
@ -15,6 +15,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>
|
||||
|
|
Loading…
Reference in New Issue