]> source.dussan.org Git - redmine.git/commitdiff
Use GET instead of POST on roadmap (#718), gantt and calendar forms.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Apr 2008 12:14:15 +0000 (12:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 30 Apr 2008 12:14:15 +0000 (12:14 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1388 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/calendar.rhtml
app/views/projects/gantt.rhtml
app/views/projects/roadmap.rhtml

index 743721cb3f039f9bbf3f2f421dd083350d621bf0..048d8a5df38ddc998e64b77888d6396d0546bc27 100644 (file)
@@ -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>
     
index d941d2777997e7a63b580af250bf1cdb8712b836..f398bace746e23e60c1421efbb73c20f5a7ac25f 100644 (file)
@@ -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 %>
 
index d9329d10926374f9bc651890b9188ad7c1004531..ba0bb3ebd33a0dfab1f7d7760d1ae27f898c41cd 100644 (file)
@@ -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>