My scheduler has a timeline view where the user can specify his start and end times according to which shift they are on. The choices are Early (08:00 - 14:00), Late (14:00 - 22:00), Nights (22:00 - 06:00) or full day (00:00 to 23:59). I have discovered that the code in the linked posts will only work if the view is full day.
In order to try and figure out what is causing this I placed some console.log lines as so:
When the scheduler that shows the full day and I drag & drop onto the 09:00 slot the console outputs....
This will render the event correctly.
When the scheduler is showing just 06:00 to 14:00 and I drag & drop onto the 09:00 slot the console outputs....
Here the event is not rendered at all.
The only difference I can see is the drop target. On the one that works we have drop target: %0 jQuery.fn.init [td..k-nonwork-hour] while on the one that does not we have drop target: %0 jQuery.fn.init [td]
Totally lost on this one... any help appreciated.