* add testtask action in project
This commit is contained in:
@@ -438,6 +438,9 @@ class testtask extends control
|
||||
{
|
||||
$actionID = $this->action->create('testtask', $taskID, 'Started', $this->post->comment);
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
|
||||
$testtask = $this->testtask->getById($taskID);
|
||||
$projectActionID = $this->action->create('project', $testtask->project, 'starttesttask', '', $taskID);
|
||||
}
|
||||
die(js::locate($this->createLink('testtask', 'view', "taskID=$taskID"), 'parent'));
|
||||
}
|
||||
@@ -477,6 +480,9 @@ class testtask extends control
|
||||
{
|
||||
$actionID = $this->action->create('testtask', $taskID, 'Closed', $this->post->comment);
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
|
||||
$testtask = $this->testtask->getById($taskID);
|
||||
$projectActionID = $this->action->create('project', $testtask->project, 'stoptesttask', '', $taskID);
|
||||
}
|
||||
die(js::locate($this->createLink('testtask', 'view', "taskID=$taskID"), 'parent'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user