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