Fix drag and drop 'Move to' with all day non-blocking events in day view did not remove original user

This commit is contained in:
nathangray 2016-06-07 16:14:11 -06:00
parent 6b39b40449
commit b3e8a5e38c

View File

@ -1367,13 +1367,12 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
if(timegrid.daily_owner)
{
timegrid.iterateOver(function(col) {
if(col.div.has(timegrid.gridHover).length)
if(col.div.has(timegrid.gridHover).length || col.header.has(timegrid.gridHover).length)
{
add_owner = col.options.owner;
}
}, this, et2_calendar_daycol);
}
debugger;
egw().json('calendar.calendar_uiforms.ajax_invite', [
button_id==='series' ? event_data.id : event_data.app_id,
add_owner,