]> source.dussan.org Git - redmine.git/commitdiff
Merged r17032 to 3.4-stable (#27110).
authorGo MAEDA <maeda@farend.jp>
Sun, 26 Nov 2017 02:26:33 +0000 (02:26 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 26 Nov 2017 02:26:33 +0000 (02:26 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17033 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_form.html.erb

index 011928db894423b58c42cfa9ec84975c7a3fbf8e..ab19feef2375a370ed84c0024adc4c37a7579d41 100644 (file)
@@ -14,7 +14,7 @@
                 :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %></p>
 <% end %>
 
-<% if @issue.safe_attribute? 'tracker_id' %>
+<% if @issue.safe_attribute?('tracker_id') || (@issue.persisted? && @issue.tracker_id_changed?) %>
 <p><%= f.select :tracker_id, trackers_options_for_select(@issue), {:required => true},
                 :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %></p>
 <% end %>