From e9ddc58b7d26d301af1e73c7d3b6bfb0d55f9c7d Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 19 Apr 2021 14:51:23 +0800 Subject: [PATCH] * Fix an error of execution burn page. --- module/execution/control.php | 16 ++++++++-------- module/execution/js/burn.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 45b6407b93..20495cd171 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -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(); diff --git a/module/execution/js/burn.js b/module/execution/js/burn.js index c4a92d8a5f..85e78025cf 100644 --- a/module/execution/js/burn.js +++ b/module/execution/js/burn.js @@ -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()); }); })