Defect #6473 ยป show.html.erb.patch
| app/views/gantts/show.html.erb (working copy) | ||
|---|---|---|
|
<%= hidden_field_tag 'zoom', @gantt.zoom %>
|
||
|
<%= link_to_remote l(:button_apply),
|
||
|
{ :url => { :set_filter => (@query.new_record? ? 1 : nil) },
|
||
|
{ :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project },
|
||
|
:update => "content",
|
||
|
:with => "Form.serialize('query_form')"
|
||
|
}, :class => 'icon icon-checked' %>
|
||
|
|
||
|
<%= link_to_remote l(:button_clear),
|
||
|
{ :url => { :set_filter => (@query.new_record? ? 1 : nil) },
|
||
|
{ :url => { :set_filter => (@query.new_record? ? 1 : nil), :project_id => @project },
|
||
|
:method => :get,
|
||
|
:update => "content",
|
||
|
}, :class => 'icon icon-reload' if @query.new_record? %>
|
||
|
</p>
|
||