Make dragging/dropping over events work even if you do it right on the event.

This commit is contained in:
Nathan Gray 2015-11-18 18:40:52 +00:00
parent 0861a6d58c
commit 174a63f86f

View File

@ -199,6 +199,9 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM],
.empty()
.append(this.title)
.append(this.body)
// Let timegrid always get the drag
.droppable('option','greedy',false)
// ?
.attr('data-draggable-id',event['id']+'_O'+event.owner+'_C'+(event.owner<0?'group'+Math.abs(event.owner):event.owner))