* Fix delete project kanban locate bug. bug #46515.

This commit is contained in:
wangyuting
2024-03-05 15:25:15 +08:00
committed by caoyanyi
parent c257ec7f87
commit a730cc7d71
4 changed files with 26 additions and 20 deletions
+6 -1
View File
@@ -2041,7 +2041,12 @@ class execution extends control
if($message) $this->lang->saveSuccess = $message;
if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess));
return $this->send(array('result' => 'success', 'load' => $execution->type == 'kanban' ? $this->createLink('execution', 'all') : true));
$locate = true;
if($execution->type == 'kanban')
{
$locate = $this->config->vision == 'lite' ? $this->createLink('project', 'execution', "status=all&projectID=$execution->project") : $this->createLink('execution', 'all');
}
return $this->send(array('result' => 'success', 'load' => $locate));
}
}