25 Jul
2024
25 Jul
'24
2:17 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37363 --- Comment #2 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- This works from onDayCreate: ``` // Make closed days unclickable (while keeping them part of the range) if (date.getDay() === 0 || date.getDay() === 6) { dayElem.classList.add("closed-day"); // Remove the click event to disable the day dayElem.addEventListener('click', function(event) { event.stopImmediatePropagation(); }, true); } ``` I'll submit the patch once I've finished work on bug 34440 -- You are receiving this mail because: You are watching all bug changes.