I’m trying to configure Fullcalendar extention - http://www.yiiframework.com/extension/fullcalendar
All looks well, but one thing is not working: when i try to drag and drop event, it returns to the previous place. So EventDrop callback is not calling. http://arshaw.com/fullcalendar/docs/event_ui/eventDrop/
Why this happens? Why event doesn’t drop to the new place?
Here is my view:
$this->widget('application.extensions.fullcalendar.FullcalendarGraphWidget',
array(
'data' => $events,
'options'=>array(
'editable'=>true,
'eventDrop' => 'js:function(event,dayDelta,minuteDelta,revertFunc){
alert(1);
}'
),
'htmlOptions'=>array(
'style'=>'margin: 0 auto;'
),
)
);
?>