Project

General

Profile

Defect #6473 ยป show.html.erb.patch

Yuki Kita, 2010-09-23 14:22

View differences:

app/views/gantts/show.html.erb (working copy)
23 23
<%= hidden_field_tag 'zoom', @gantt.zoom %>
24 24

  
25 25
<%= link_to_remote l(:button_apply), 
26
                   { :url => { :set_filter => (@query.new_record? ? 1 : nil) },
26
                   { :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project },
27 27
                     :update => "content",
28 28
                     :with => "Form.serialize('query_form')"
29 29
                   }, :class => 'icon icon-checked' %>
30 30
                   
31 31
<%= link_to_remote l(:button_clear),
32
                   { :url => { :set_filter => (@query.new_record? ? 1 : nil) }, 
32
                   { :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project }, 
33
                     :method => :get,
33 34
                     :update => "content",
34 35
                   }, :class => 'icon icon-reload' if @query.new_record? %>
35 36
</p>
    (1-1/1)