Fix drag and drop event to all day area no longer works

This commit is contained in:
nathangray 2016-05-30 09:33:15 -06:00
parent 80a7a121ed
commit fba129a80b

View File

@ -1790,9 +1790,6 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
var day = null;
var time = null;
for(var id in this.gridHover[0].dataset) {
delete this.gridHover[0].dataset[id];
}
var node = document.elementFromPoint(x,y);
var $node = $j(node);
@ -1803,7 +1800,9 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
{
return [];
}
for(var id in this.gridHover[0].dataset) {
delete this.gridHover[0].dataset[id];
}
while(node && node != this.node && node.tagName != 'BODY' && path.length < 10)
{
path.push(node);