Project

General

Profile

Feature #5484 » 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

View differences:

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