* Update project address.

This commit is contained in:
leiyong
2020-09-21 15:48:34 +08:00
parent cae62af3d0
commit 5b83f2d3f6
5 changed files with 14 additions and 10 deletions
+4
View File
@@ -997,6 +997,10 @@ class program extends control
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => $this->processErrors(dao::getError())));
$this->loadModel('action')->create('project', $projectID, 'opened');
if($from == 'PGM')
{
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('PGMBrowse')));
}
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => inlink('PRJBrowse', array('programID' => $programID, 'browseType' => 'doing'))));
}