* [task#152670, 1h, done] Enable the mobile - end to view tasks in the R & D kanban and perform related operations.
This commit is contained in:
@@ -362,8 +362,9 @@ class task extends control
|
||||
|
||||
$this->session->set('executionList', $this->app->getURI(true), 'execution'); // This allow get var of session as `$_SESSION['app-execution']['executionList']`.
|
||||
|
||||
$execution = $this->view->execution ?? $this->execution->getById($task->execution);
|
||||
if(!helper::isAjaxRequest('modal') && $execution->type == 'kanban')
|
||||
$execution = $this->view->execution ?? $this->execution->getById($task->execution);
|
||||
$isModalOrApi = helper::isAjaxRequest('modal') || (defined('RUN_MODE') && RUN_MODE == 'api');
|
||||
if(!$isModalOrApi && $execution->type == 'kanban')
|
||||
{
|
||||
helper::setcookie('taskToOpen', (string)$taskID);
|
||||
return $this->send(array('load' => $this->createLink('execution', 'kanban', "executionID=$execution->id")));
|
||||
|
||||
Reference in New Issue
Block a user