* fix bug.
This commit is contained in:
@@ -322,7 +322,7 @@ class taskModel extends model
|
||||
->checkIF($task->estimate != '', 'estimate', 'float')
|
||||
->exec();
|
||||
|
||||
if(dao::isError()) die(js::error(dao::getError()));
|
||||
if(dao::isError()) return false;
|
||||
|
||||
$taskID = $this->dao->lastInsertID();
|
||||
$childTasks .= $taskID . ',';
|
||||
@@ -2688,7 +2688,8 @@ class taskModel extends model
|
||||
if($id == 'status') $class .= ' task-' . $task->status;
|
||||
if($id == 'id') $class .= ' cell-id';
|
||||
if($id == 'name') $class .= ' text-left';
|
||||
if($id == 'deadline' and isset($task->delay)) $class .= ' text-center delayed';
|
||||
if($id == 'deadline') $class .= ' text-center';
|
||||
if($id == 'deadline' and isset($task->delay)) $class .= ' delayed';
|
||||
if($id == 'assignedTo') $class .= ' has-btn text-left';
|
||||
if(strpos('progress', $id) !== false) $class .= ' text-right';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user