diff --git a/module/execution/control.php b/module/execution/control.php index 766439699d..9cf79b345f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1364,6 +1364,9 @@ class execution extends control * * @param int $executionID * @param string $type + * @param string $withWeekend + * @param string $begin + * @param string $end * @access public * @return void */ diff --git a/module/execution/js/cfd.js b/module/execution/js/cfd.js index 446b56a05a..6e660db934 100644 --- a/module/execution/js/cfd.js +++ b/module/execution/js/cfd.js @@ -137,6 +137,6 @@ $(function() location.href = createLink('execution', 'cfd', 'executionID=' + executionID + '&type=' + type + '&withWeekend=' + withWeekend + '&begin=' + begin + '&end=' + end); }); - $("#end").datetimepicker('setEndDate', today) + $("#end, #begin").datetimepicker('setEndDate', today) $('.datetimepicker-days table tfoot tr th').html(dateRangeTip).removeClass('today'); });