+ finish the task #623.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-11-18 01:19:32 +00:00
parent 9c6396fbdc
commit 8b5247e83c
8 changed files with 82 additions and 11 deletions
+17
View File
@@ -486,5 +486,22 @@ class user extends control
$this->display();
}
/**
* Get user for ajax
*
* @param string $requestID
* @param string $assignedTo
* @access public
* @return void
*/
public function ajaxGetUser($taskID = '', $assignedTo = '')
{
$users = $this->user->getPairs('noletter, noclosed');
$html = "<form method='post' target='hiddenwin' action='" . $this->createLink('task', 'assignedTo', "taskID=$taskID&assignedTo=$assignedTo") . "'>";
$html .= html::select('assignedTo', $users, $assignedTo);
$html .= html::submitButton();
$html .= '</form>';
echo $html;
}
}