* Fix an error of execution burn page.

This commit is contained in:
hufangzhou
2021-04-19 14:51:23 +08:00
parent 81d26ebf65
commit e9ddc58b7d
2 changed files with 9 additions and 9 deletions
+8 -8
View File
@@ -1108,16 +1108,16 @@ class execution extends control
foreach($dayList as $key => $val) $dayList[$key] = $this->lang->execution->interval . ($key + 1) . $this->lang->day;
/* Assign. */
$this->view->title = $title;
$this->view->position = $position;
$this->view->tabID = 'burn';
$this->view->burnBy = $burnBy;
$this->view->title = $title;
$this->view->position = $position;
$this->view->tabID = 'burn';
$this->view->burnBy = $burnBy;
$this->view->executionID = $executionID;
$this->view->executionName = $execution->name;
$this->view->type = $type;
$this->view->interval = $interval;
$this->view->chartData = $chartData;
$this->view->dayList = array('full' => $this->lang->execution->interval . '1' . $this->lang->day) + $dayList;
$this->view->type = $type;
$this->view->interval = $interval;
$this->view->chartData = $chartData;
$this->view->dayList = array('full' => $this->lang->execution->interval . '1' . $this->lang->day) + $dayList;
unset($this->lang->TRActions);
$this->display();
+1 -1
View File
@@ -3,7 +3,7 @@ $(function()
initBurnChar();
$('#interval').change(function()
{
location.href = createLink('project', 'burn', 'projectID=' + projectID + '&type=' + type + '&interval=' + $(this).val());
location.href = createLink('execution', 'burn', 'executionID=' + executionID + '&type=' + type + '&interval=' + $(this).val());
});
})