* [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:
liuruogu
2025-12-31 08:59:21 +00:00
parent 65dd45d243
commit 5721dca240
+3 -2
View File
@@ -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")));