event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
DayPilot uses event.returnValue to prevent the default action conditionaly - only if event.preventDefault() method is not available.
Most likely, this warning is not generated by DayPilot. Either way, you can safely ignore it.