This commit is contained in:
tianshujie
2023-12-27 16:16:50 +08:00
parent 271a070650
commit 4b31aa61db
+4 -1
View File
@@ -208,7 +208,10 @@ class build extends control
if($message) $this->lang->saveSuccess = $message;
if(dao::isError()) return $this->sendError(dao::getError());
return $this->sendSuccess(array('load' => helper::createLink($from, 'build', "executionID={$build->$from}")));
$moduleName = $from == 'project' ? 'projectbuild' : $from;
$methodName = $from == 'project' ? 'browse' : 'build';
return $this->sendSuccess(array('load' => $this->createLink($moduleName, $methodName, "executionID={$build->$from}")));
}
/**