general: add js to handle cells with folded/foldable classes (#19467)
This commit is contained in:
parent
4a2c08cf67
commit
4b2b0b9d6b
|
@ -199,6 +199,13 @@ $(function() {
|
|||
$(checkboxes[checkboxes.length-1]).parents('tr').next().find('td:nth-child(' + (column_index+1) + ')').addClass('clickable');
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$('body').on('click', 'div.cell.foldable > div > h2:first-child', function() {
|
||||
$(this).parents('div.foldable').toggleClass('folded');
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
$('.bookingcalendar table').each(function(idx, elem) { set_booking_calendar_sensitivity(elem); });
|
||||
|
||||
$('.bookingcalendar input').on('change', function() {
|
||||
|
|
Loading…
Reference in New Issue