@@ -45,7 +45,7 | |||||
45 | <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> |
|
45 | <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %> | |
46 | <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %> |
|
46 | <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %> | |
47 | <%= link_to_function l(:button_save), |
|
47 | <%= link_to_function l(:button_save), | |
48 | "$('query_form').action='#{ @project ? new_project_query_path : new_query_path }'; submit_query_form('query_form')", |
|
48 | "$('query_form').action='#{ @project ? new_project_query_path(@project) : new_query_path }'; submit_query_form('query_form')", | |
49 | :class => 'icon icon-save' %> |
|
49 | :class => 'icon icon-save' %> | |
50 | <% end %> |
|
50 | <% end %> | |
51 | </p> |
|
51 | </p> |
General Comments 0
You need to be logged in to leave comments.
Login now