* code for task#964.

This commit is contained in:
zhujinyong
2012-12-13 03:09:10 +00:00
parent 5f8ca55c08
commit 185338c26d

View File

@@ -1295,6 +1295,19 @@ class project extends control
die(html::select('product', $products, '', 'class="select-3"'));
}
/**
* AJAX: get team members of the project.
*
* @param int $projectID
* @access public
* @return void
*/
public function ajaxGetMembers($projectID)
{
$users = $this->project->getTeamMemberPairs($projectID);
die(html::select('assignedTo', $users, ''));
}
/**
* When create a project, help the user.
*