git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10662 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/2.2.0
@@ -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 |