Add settings option to define the default task color

This commit is contained in:
Frederic Guillot
2015-07-19 14:14:05 -04:00
parent 9eeb7d1820
commit d1bfc29f1b
25 changed files with 65 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ class Task extends Base
$values = array(
'swimlane_id' => $this->request->getIntegerParam('swimlane_id', key($swimlanes_list)),
'column_id' => $this->request->getIntegerParam('column_id'),
'color_id' => $this->request->getStringParam('color_id'),
'color_id' => $this->request->getStringParam('color_id', $this->color->getDefaultColor()),
'owner_id' => $this->request->getIntegerParam('owner_id'),
'another_task' => $this->request->getIntegerParam('another_task'),
);