Merge branch 'sprint/185_zhouxudong_19962' into 'pailei'

* Finish task #49696.

See merge request easycorp/zentaopms!1991
This commit is contained in:
孙广明
2022-03-02 00:31:17 +00:00
5 changed files with 30 additions and 9 deletions
+7
View File
@@ -515,6 +515,13 @@ class execution extends control
$mails = $this->execution->importBug($executionID);
if(dao::isError()) return print(js::error(dao::getError()));
/* If link from no head then reload. */
if(isonlybody())
{
$kanbanData = $this->loadModel('kanban')->getRDKanban($executionID, $this->session->execLaneType ? $this->session->execLaneType : 'all');
return print(js::reload('parent'));
}
return print(js::locate($this->createLink('execution', 'importBug', "executionID=$executionID"), 'parent'));
}