* ajax get the task detail.
This commit is contained in:
@@ -833,6 +833,19 @@ class task extends control
|
||||
die(html::select('task', $tasks, $taskID));
|
||||
}
|
||||
|
||||
/**
|
||||
* AJAX: get the actions of a task. for web app.
|
||||
*
|
||||
* @param int $taskID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function ajaxGetDetail($taskID)
|
||||
{
|
||||
$this->view->actions = $this->loadModel('action')->getList('task', $taskID);
|
||||
$this->display();
|
||||
}
|
||||
|
||||
/**
|
||||
* The report page.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user