I'm using the eventDrop on fullcalendar in this way: eventDrop: function( event, delta, revertFunc, jsEvent, ui, view ) { if (!confirm("are you sure?") { revertFunc(); } When revertFunc is launched I have this error in console: Uncaught TypeError: number is not a function Could...
$('#kalender1').fullCalendar({ firstDay: 1, header: {right:'today prev,next month,agendaWeek'} , defaultView: 'agendaWeek', // timeFormat: 'h(:mm)', // uppercase H for 24-hour clock minTime:'6' , maxTime: '21' , eventResize: function(event,dayDelta,minuteDelta,revertFunc) { v...
function (event, delta, revertFunc) { updateTask(event.id, event.start, event.end); }, // put the events on the calendar events: function (start, end, timezone, callback) { var startDate = start.format('YYYY-MM-DD'); var endDate = end.format('YYYY-MM-DD'); var restQu...
I see it move in the full calendar but the web method is not being called. I set a breakpoint in the code behind just to determine if anything is happening and nothing. I have tried stepping through the js part and the ajax style call. My values are not empty so I really am not ...
9.8. eventDrop: function(calEvent, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view) 在一个日程事件被移动, 并成功移动到另外一个日期/时间. 9.8.1. dayDelta: 保存了这次拖动导致该日程事件移动了多少天, 向前为正数, 向后为负数. ...
error: function () { alert("请求错误"); } }, select: function (start, end) { console.log('选择日期触发'); }, eventDrop: function (event, dayDelta, revertFunc) { console.log('eventDrop --- start ---'); console.log('eventDrop被执行,Event的title属性值为:', event.title); ...
minudiff:minuteDelta,allday:allDay},function(msg){ if(msg!=1){ alert(msg); revertFunc();//恢复原状 } }); } }); Ajax.php 我们先看增加的处理程序: $action=$_GET['action']; if($action=='add') {//增加 $events= stripslashes(trim($_POST['event']));//事件内容 ...
event dragging not shown when excessive minTime/maxTime (#3055) excessive minTime/maxTime not reflected in event fetching (#3514) when minTime is negative, or maxTime beyond 24 hours, when event data is requested via a function or a feed, the given data params will have time part...
}'?><?php$JsEventDrop='function(event, delta, revertFunc) { var event_data = { id: event.id, titulo: event.title, descripcion: event.description, fecha_inicio: $.fullCalendar.formatDate(event.start, "YYYY-MM-DD"), hora_inicio: $.fullCalendar.formatDate(event.start, "HH:mm"),...
Note: this changes the argument order for revertFunc wrongfully triggering a windowResize when resizing an agenda view event (1116) this values in event drag-n-drop/resize handlers consistently the DOM node (1177) displayEventEnd - v2 workaround to force display of an end time (2090) don'...