summaryrefslogtreecommitdiffstats
path: root/app/views/projects/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/new.html.erb')
-rw-r--r--app/views/projects/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb
index 062073c5d..58d8192ce 100644
--- a/app/views/projects/new.html.erb
+++ b/app/views/projects/new.html.erb
@@ -4,5 +4,5 @@
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
-<%= javascript_tag "Form.Element.focus('project_name');" %>
+<%= javascript_tag "$('#project_name').focus();" %>
<% end %>