Use parent tracker as the default tracker when adding a subtask (#12113).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10662 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b8fbb41d5f
commit
ef1f14905b
|
@ -96,7 +96,11 @@ module IssuesHelper
|
|||
|
||||
# Returns a link for adding a new subtask to the given issue
|
||||
def link_to_new_subtask(issue)
|
||||
link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => issue.project, :issue => {:parent_issue_id => issue}})
|
||||
attrs = {
|
||||
:tracker_id => issue.tracker,
|
||||
:parent_issue_id => issue
|
||||
}
|
||||
link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => issue.project, :issue => attrs})
|
||||
end
|
||||
|
||||
class IssueFieldsRows
|
||||
|
|
Loading…
Reference in New Issue