This commit is contained in:
Yagami
2018-11-15 13:09:29 +08:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class build extends control
$buildID = $this->build->create($projectID);
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
$this->loadModel('action')->create('build', $buildID, 'opened');
if(isonlybody()) die(js::closeModal('parent.parent', '', "function(){parent.parent.loadProjectBuilds($projectID);}"));
if(isonlybody()) $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true, 'callback' => "parent.loadProjectBuilds($projectID)"));//Code for task #5126.
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('build', 'view', "buildID=$buildID")));
}
+1 -1
View File
@@ -56,7 +56,7 @@ $lang->tree->child = 'Child';
$lang->tree->lineChild = 'Child';
$lang->tree->owner = 'Owner';
$lang->tree->order = 'Order';
$lang->tree->short = 'Sort';
$lang->tree->short = 'Alias';
$lang->tree->all = 'All Modules';
$lang->tree->projectDoc = "{$lang->projectCommon} Doc";
$lang->tree->product = $lang->productCommon;
+1 -1
View File
File diff suppressed because one or more lines are too long