Use the regular issue form to copy a single issue.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-01-08 11:16:54 +00:00
parent f134eeef45
commit 121bc44cc5
9 changed files with 74 additions and 14 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
</p>
<% end %>
<% if !@issue.new_record? && @issue.safe_attribute?('project_id') %>
<% if @issue.safe_attribute? 'project_id' %>
<p><%= f.select :project_id, project_tree_options_for_select(Issue.allowed_target_projects_on_move, :selected => @issue.project), :required => true %></p>
<%= observe_field :issue_project_id, :url => project_issue_form_path(@project, :id => @issue, :project_change => '1'),
:with => "Form.serialize('issue-form')" %>