Merge branch 'sprint/185_zhouxudong_19962' into 'pailei'
* Finish task #49696. See merge request easycorp/zentaopms!1991
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user