Skip to content

Commit

Permalink
TTK-25561: Fix reset button click action (#46) (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina authored Dec 17, 2021
1 parent 3bd66fe commit 1413a21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Resources/views/Stats/js.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
$('.btn-stats-calendar-remove').on('click', function(event){
event.preventDefault();
$('#form_daterangepicker').val(moment().startOf('year').format('YYYY-MM-DD') + ' - ' + moment().format('YYYY-MM-DD'));
window.initDateRangePicker();
window.initializeAjaxRequest();
});
Expand All @@ -70,7 +69,6 @@
event.preventDefault();
$('#title').val('');
$('#form_daterangepicker').val(moment().startOf('year').format('YYYY-MM-DD') + ' - ' + moment().format('YYYY-MM-DD'));
window.initDateRangePicker();
window.initializeAjaxRequest();
});
Expand Down

0 comments on commit 1413a21

Please sign in to comment.