diff --git a/search/web/inc/dac.jsp b/search/web/inc/dac.jsp index e1c74f3299..82e6b847e4 100644 --- a/search/web/inc/dac.jsp +++ b/search/web/inc/dac.jsp @@ -20,7 +20,8 @@ \' " \" - +false +true @@ -33,7 +34,17 @@ da.render(); da.setDatePicker(); da.scrollToMax(); + $('#exactDay').attr('checked', ${exactDay}); }); + + function toggleExact(){ + if($('#exactDay').attr('checked')){ + $('.exactbox').hide(); + } else { + $('.exactbox').show(); + } + } + function checkValid(event, obj){ var minDate = $("#f1").datepicker('option', 'getDate'); var maxDate = $("#f2").datepicker('option', 'getDate'); @@ -60,7 +71,7 @@
- konkrétní denchecked="checked" />