summaryrefslogtreecommitdiffstats
path: root/app/views/issues/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/index.html.erb')
-rw-r--r--app/views/issues/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 8e9b81fdc..d7679d65a 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -44,7 +44,7 @@
<%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
<% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %>
<%= link_to_function l(:button_save),
- "$('query_form').action='#{ @project ? new_project_query_path(@project) : new_query_path }'; submit_query_form('query_form')",
+ "$('#query_form').attr('action', '#{ @project ? new_project_query_path(@project) : new_query_path }'); submit_query_form('query_form')",
:class => 'icon icon-save' %>
<% end %>
</p>