From fd9b0b10530cf5c0f063481343b9887815dbc0bd Mon Sep 17 00:00:00 2001 From: zenggang Date: Thu, 14 Jul 2022 02:20:00 +0000 Subject: [PATCH] * Fix bug#25241 --- module/execution/js/cfd.js | 3 ++- module/execution/view/cfd.html.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/module/execution/js/cfd.js b/module/execution/js/cfd.js index 00c2954ff3..a6b429fe3d 100644 --- a/module/execution/js/cfd.js +++ b/module/execution/js/cfd.js @@ -137,6 +137,7 @@ $(function() location.href = createLink('execution', 'cfd', 'executionID=' + executionID + '&type=' + type + '&withWeekend=' + withWeekend + '&begin=' + begin + '&end=' + end); }); - $("#end, #begin").datetimepicker('setEndDate', today) + $("#end, #begin").datetimepicker('setEndDate', today); + $("#end, #begin").datetimepicker('setStartDate', executionBegin); $('.datetimepicker-days table tfoot').append('' + dateRangeTip + ''); }); diff --git a/module/execution/view/cfd.html.php b/module/execution/view/cfd.html.php index f03c557ad9..8ab4b5cd68 100644 --- a/module/execution/view/cfd.html.php +++ b/module/execution/view/cfd.html.php @@ -21,6 +21,7 @@ execution->burnXUnit); ?> execution->charts->cfd->dateRangeTip); ?> +begin); ?>