diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 867590fa2..d223694f4 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -8,14 +8,14 @@ <%= submit_tag l(:button_create) %> <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> - <%= link_to_remote l(:label_preview), + <%= link_to_remote l(:label_preview), { :url => preview_issue_path(:project_id => @project), :method => 'post', :update => 'preview', :with => "Form.serialize('issue-form')", :complete => "Element.scrollTo('preview')" }, :accesskey => accesskey(:preview) %> - + <%= javascript_tag "Form.Element.focus('issue_subject');" %> <% end %>