summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-03-20 22:16:11 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-03-20 22:16:11 +0000
commit3cee462b672632787070e41fc62a6114f4fd2397 (patch)
treec616e56c2062961eda8bd9da712835786265d9f3 /app/views
parent1d32a44afa2dc649866ea71828ff7d8f67fae3c7 (diff)
downloadredmine-3cee462b672632787070e41fc62a6114f4fd2397.tar.gz
redmine-3cee462b672632787070e41fc62a6114f4fd2397.zip
Fix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to @test_index@ (#6432).
git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/versions/_sidebar.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_sidebar.html.erb b/app/views/versions/_sidebar.html.erb
index 0eb517c24..aecb7d131 100644
--- a/app/views/versions/_sidebar.html.erb
+++ b/app/views/versions/_sidebar.html.erb
@@ -1,9 +1,9 @@
<%= form_tag({}, :method => :get) do %>
+<%= hidden_field_tag "tracker_ids[]", nil, :id => nil %>
<h3><%= l(:label_roadmap) %></h3>
<ul>
<% @trackers.each do |tracker| %>
<li>
- <%= hidden_field_tag "tracker_ids[]", nil, :id => nil %>
<label>
<%= check_box_tag("tracker_ids[]", tracker.id,
(@selected_tracker_ids.include? tracker.id.to_s),