summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-30 12:14:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-30 12:14:15 +0000
commitb2abe48592b3b2425d63bfbe2dc38e051bec272a (patch)
treed49decbfe61b4366041ba981207ff1c6d69206ac /app/views/projects
parentf1ae453688aef224d5d8dd9e715811a7517e1bb2 (diff)
downloadredmine-b2abe48592b3b2425d63bfbe2dc38e051bec272a.tar.gz
redmine-b2abe48592b3b2425d63bfbe2dc38e051bec272a.zip
Use GET instead of POST on roadmap (#718), gantt and calendar forms.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1388 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/calendar.rhtml2
-rw-r--r--app/views/projects/gantt.rhtml4
-rw-r--r--app/views/projects/roadmap.rhtml4
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/calendar.rhtml b/app/views/projects/calendar.rhtml
index 743721cb3..048d8a5df 100644
--- a/app/views/projects/calendar.rhtml
+++ b/app/views/projects/calendar.rhtml
@@ -23,7 +23,7 @@
<% content_for :sidebar do %>
<h3><%= l(:label_calendar) %></h3>
- <% form_tag() do %>
+ <% form_tag({}, :method => :get) do %>
<p><%= select_month(@month, :prefix => "month", :discard_type => true) %>
<%= select_year(@year, :prefix => "year", :discard_type => true) %></p>
diff --git a/app/views/projects/gantt.rhtml b/app/views/projects/gantt.rhtml
index d941d2777..f398bace7 100644
--- a/app/views/projects/gantt.rhtml
+++ b/app/views/projects/gantt.rhtml
@@ -235,7 +235,7 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<% content_for :sidebar do %>
<h3><%= l(:label_gantt) %></h3>
- <% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil)) do %>
+ <% form_tag(params.merge(:tracker_ids => nil, :with_subprojects => nil), :method => :get) do %>
<% @trackers.each do |tracker| %>
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %></label><br />
<% end %>
@@ -243,7 +243,7 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
<%= hidden_field_tag 'with_subprojects', 0 %>
<% end %>
- <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
+ <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<% end %>
<% end %>
diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml
index d9329d109..ba0bb3ebd 100644
--- a/app/views/projects/roadmap.rhtml
+++ b/app/views/projects/roadmap.rhtml
@@ -30,7 +30,7 @@
<% end %>
<% content_for :sidebar do %>
-<% form_tag do %>
+<% form_tag({}, :method => :get) do %>
<h3><%= l(:label_roadmap) %></h3>
<% @trackers.each do |tracker| %>
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %>
@@ -38,7 +38,7 @@
<% end %>
<br />
<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
-<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
+<p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
<% end %>
<h3><%= l(:label_version_plural) %></h3>