mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
Fix unable to drag & drop infologs
This commit is contained in:
parent
15dd34edcb
commit
fccaedf231
@ -386,11 +386,11 @@ var et2_calendar_timegrid = et2_calendar_view.extend([et2_IDetachedDOM, et2_IRes
|
||||
var drop_date = dropEnd.date||false;
|
||||
|
||||
var event_data = timegrid._get_event_info(ui.draggable);
|
||||
var event_widget = timegrid.getWidgetById('event_'+event_data.app_id);
|
||||
var event_widget = timegrid.getWidgetById('event_'+event_data.id);
|
||||
if(!event_widget)
|
||||
{
|
||||
// Widget was moved across weeks / owners
|
||||
event_widget = timegrid.getParent().getWidgetById('event_'+event_data.app_id);
|
||||
event_widget = timegrid.getParent().getWidgetById('event_'+event_data.id);
|
||||
}
|
||||
if(event_widget)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user