summaryrefslogtreecommitdiffstats
path: root/app/views/issues/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/new.html.erb')
-rw-r--r--app/views/issues/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb
index 1db43d726..8fdb9d854 100644
--- a/app/views/issues/new.html.erb
+++ b/app/views/issues/new.html.erb
@@ -39,7 +39,7 @@
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form' %>
- <%= javascript_tag "Form.Element.focus('issue_subject');" %>
+ <%= javascript_tag "$('#issue_subject').focus();" %>
<% end %>
<div id="preview" class="wiki"></div>