Project

General

Profile

Bug #11473 » 11473.patch

Tolleiv Nietsch, 2010-12-18 11:10

View differences:

Classes/ExtDirect/ActionHandler.php (working copy)
'xtype' => 'checkboxgroup',
'itemCls' => 'x-check-group-alt',
'columns' => 1,
'style' => 'max-height: 100px',
'autoScroll' => true,
'items' => array(
$this->getReceipientsOfStage($nextStageId)
)
......
/**
* Gets all assigned recipients of a particular stage.
*
*
* @param integer $stage
* @return array
*/
......
$recipients = $this->getStageService()->getResponsibleBeUser($stage);
foreach ($recipients as $id => $name) {
$result[] = array(
$result[] = array(
'boxLabel' => $name,
'name' => 'receipients-' . $id,
'checked' => TRUE,
);
'name' => 'receipients-' . $id,
'checked' => TRUE,
);
}
return $result;
(2-2/2)