show_the_parent_id_field_for_new_issues.patch

Show the parent ID field on the new issue form - Felix Schäfer, 2010-07-08 22:07

Download (686 Bytes)

View differences:

app/views/issues/_form.rhtml
6 6

  
7 7
<p><%= f.text_field :subject, :size => 80, :required => true %></p>
8 8
                                     
9
<% unless (@issue.new_record? && @issue.parent_issue_id.nil?) || !User.current.allowed_to?(:manage_subtasks, @project) %>
9
<% if User.current.allowed_to?(:manage_subtasks, @project) %>
10 10
<p><%= f.text_field :parent_issue_id, :size => 10 %></p>
11 11
<div id="parent_issue_candidates" class="autocomplete"></div>
12 12
<%= javascript_tag "observeParentIssueField('#{url_for(:controller => :issues,