Lines 175-180
Link Here
|
175 |
<li class="dateinsert"> |
175 |
<li class="dateinsert"> |
176 |
<strong>To date: </strong> |
176 |
<strong>To date: </strong> |
177 |
<input type="text" id="dateofrange" name="dateofrange" size="20" value="[% dateofrange | html %]" class="flatpickr" /> |
177 |
<input type="text" id="dateofrange" name="dateofrange" size="20" value="[% dateofrange | html %]" class="flatpickr" /> |
|
|
178 |
<div class="hint">This field only applies when holidays are added on a range.</div> |
178 |
</li> |
179 |
</li> |
179 |
<li> |
180 |
<li> |
180 |
<label for="title">Title: </label> |
181 |
<label for="title">Title: </label> |
Lines 578-584
Link Here
|
578 |
|
579 |
|
579 |
$(document).ready(function() { |
580 |
$(document).ready(function() { |
580 |
|
581 |
|
581 |
$(".hint").hide(); |
582 |
$(".helptext + .hint").hide(); |
582 |
$("#branch").change(function(){ |
583 |
$("#branch").change(function(){ |
583 |
changeBranch(); |
584 |
changeBranch(); |
584 |
}); |
585 |
}); |
Lines 606-612
Link Here
|
606 |
}); |
607 |
}); |
607 |
|
608 |
|
608 |
$("a.helptext").click(function(){ |
609 |
$("a.helptext").click(function(){ |
609 |
$(this).parent().find(".hint").toggle(); return false; |
610 |
$(this).parent().find(".helptext + .hint").toggle(); return false; |
610 |
}); |
611 |
}); |
611 |
|
612 |
|
612 |
const dateofrange = document.querySelector("#dateofrange")._flatpickr; |
613 |
const dateofrange = document.querySelector("#dateofrange")._flatpickr; |
613 |
- |
|
|