Fixes graph drag not working

This commit is contained in:
Matteo Biscosi 2022-01-25 18:20:06 +01:00
parent 0c561bd295
commit 014d249a62

View file

@ -482,8 +482,11 @@ $(document).ready(function(){
$(`#select-time-presets`).val('custom');
$inputBeginEpoch.datetimepicker('date', begin);
$inputEndEpoch.datetimepicker('date', end);
$(`#begin-date`).attr('value', begin.format('YYYY-MM-DD'));
$(`#begin-time`).attr('value', begin.format('HH:mm'));
$(`#end-date`).attr('value', end.format('YYYY-MM-DD'));
$(`#end-time`).attr('value', end.format('HH:mm'));
await onRangePickerChange(true);
});