From 255010a71fbb76c5ecd15b2b74a71dbd200dd9de Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 26 Nov 2017 02:26:33 +0000 Subject: [PATCH] Merged r17032 to 3.4-stable (#27110). git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17033 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 011928db8..ab19feef2 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -14,7 +14,7 @@ :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %>

<% end %> -<% if @issue.safe_attribute? 'tracker_id' %> +<% if @issue.safe_attribute?('tracker_id') || (@issue.persisted? && @issue.tracker_id_changed?) %>

<%= f.select :tracker_id, trackers_options_for_select(@issue), {:required => true}, :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %>

<% end %> -- 2.39.5