Project

General

Profile

Defect #24311 » issues_form.diff

lax_approach - Luka Lüdicke, 2016-11-11 11:32

View differences:

app/views/issues/_form.html.erb (working copy)
8 8
</p>
9 9
<% end %>
10 10

  
11
<% if @issue.safe_attribute?('project_id') && (!@issue.new_record? || @project.nil? || @issue.copy?) %>
11
<% if (@issue.safe_attribute?('project_id') || @issue.allowed_target_projects.include?(@issue.project_id)) && (!@issue.new_record? || @project.nil? || @issue.copy?) %>
12 12
<p><%= f.select :project_id, project_tree_options_for_select(@issue.allowed_target_projects, :selected => @issue.project), {:required => true},
13 13
                :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)" %></p>
14 14
<% end %>
    (1-1/1)