@@ -20,16 +20,16 | |||||
20 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> |
|
20 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> | |
21 |
|
21 | |||
22 | <%= link_to_remote l(:button_apply), |
|
22 | <%= link_to_remote l(:button_apply), | |
23 |
{ :url => { :set_filter => |
|
23 | { :url => { :set_filter => 1 }, | |
24 | :update => "content", |
|
24 | :update => "content", | |
25 | :with => "Form.serialize('query_form')" |
|
25 | :with => "Form.serialize('query_form')" | |
26 | }, :class => 'icon icon-checked' %> |
|
26 | }, :class => 'icon icon-checked' %> | |
27 |
|
27 | |||
28 | <%= link_to_remote l(:button_clear), |
|
28 | <%= link_to_remote l(:button_clear), | |
29 |
{ :url => { :project_id => @project, :set_filter => |
|
29 | { :url => { :project_id => @project, :set_filter => 1 }, | |
30 | :method => :put, |
|
30 | :method => :put, | |
31 | :update => "content", |
|
31 | :update => "content", | |
32 |
}, :class => 'icon icon-reload' |
|
32 | }, :class => 'icon icon-reload' %> | |
33 | </p> |
|
33 | </p> | |
34 | <% end %> |
|
34 | <% end %> | |
35 |
|
35 |
@@ -23,16 +23,16 | |||||
23 | <%= hidden_field_tag 'zoom', @gantt.zoom %> |
|
23 | <%= hidden_field_tag 'zoom', @gantt.zoom %> | |
24 |
|
24 | |||
25 | <%= link_to_remote l(:button_apply), |
|
25 | <%= link_to_remote l(:button_apply), | |
26 |
{ :url => { :set_filter => |
|
26 | { :url => { :set_filter => 1 }, | |
27 | :update => "content", |
|
27 | :update => "content", | |
28 | :with => "Form.serialize('query_form')" |
|
28 | :with => "Form.serialize('query_form')" | |
29 | }, :class => 'icon icon-checked' %> |
|
29 | }, :class => 'icon icon-checked' %> | |
30 |
|
30 | |||
31 | <%= link_to_remote l(:button_clear), |
|
31 | <%= link_to_remote l(:button_clear), | |
32 |
{ :url => { :project_id => @project, :set_filter => |
|
32 | { :url => { :project_id => @project, :set_filter => 1 }, | |
33 | :method => :put, |
|
33 | :method => :put, | |
34 | :update => "content", |
|
34 | :update => "content", | |
35 |
}, :class => 'icon icon-reload' |
|
35 | }, :class => 'icon icon-reload' %> | |
36 | </p> |
|
36 | </p> | |
37 | <% end %> |
|
37 | <% end %> | |
38 |
|
38 |
General Comments 0
You need to be logged in to leave comments.
Login now