* ajax get the task detail.

This commit is contained in:
chencongzhi520@gmail.com
2013-06-27 02:23:04 +00:00
parent 3fe6368478
commit 5b37b3b0bf
4 changed files with 18 additions and 2 deletions
+13
View File
@@ -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.
*