diff --git a/UI/WebServerResources/SchedulerUIDnD.js b/UI/WebServerResources/SchedulerUIDnD.js index 016ab362b..452cff420 100644 --- a/UI/WebServerResources/SchedulerUIDnD.js +++ b/UI/WebServerResources/SchedulerUIDnD.js @@ -778,6 +778,9 @@ SOGoEventDragPointerHandler.prototype = { var coordinates = this.currentCoordinates.getDelta(this.containerCoordinates); var container = SOGoEventDragUtilities().getEventsViewNode(); + if (container.clientWidth == 0) + /* a hack for Safari */ + container = $(container.id); if (coordinates.x < 0 || coordinates.x > container.clientWidth || coordinates.y < 0 || coordinates.y > container.clientHeight) coordinates = null;