@@ -96,7 +96,11 module IssuesHelper | |||
|
96 | 96 | |
|
97 | 97 | # Returns a link for adding a new subtask to the given issue |
|
98 | 98 | def link_to_new_subtask(issue) |
|
99 | link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => issue.project, :issue => {:parent_issue_id => issue}}) | |
|
99 | attrs = { | |
|
100 | :tracker_id => issue.tracker, | |
|
101 | :parent_issue_id => issue | |
|
102 | } | |
|
103 | link_to(l(:button_add), {:controller => 'issues', :action => 'new', :project_id => issue.project, :issue => attrs}) | |
|
100 | 104 | end |
|
101 | 105 | |
|
102 | 106 | class IssueFieldsRows |
General Comments 0
You need to be logged in to leave comments.
Login now