From 185338c26d92bc17ff8b3e68f1ff513c29f2ed46 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Thu, 13 Dec 2012 03:09:10 +0000 Subject: [PATCH] * code for task#964. --- module/project/control.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/module/project/control.php b/module/project/control.php index bae02628ec..399302f978 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -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. *