| Issue 164: | Update event and rerender updates | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. I click on an Event and manage the eventClick method to change event
properties (start, end, title) thought a dialog
2. Click ok on the dialog to update my events (calling the updateEvent method)
What is the expected output? What do you see instead?
The update of the event should be visibleo on the calendar. No updates are
visible on the calendar.
What version of the product are you using? On what operating system?
jquery 1.3.2 and fullcalendar 1.4.1 on windows XP (both firefox and
explorer tested)
Please provide any additional information below.
It seems the updateEvent method has problem with the _start and _end event
properties (that should be set in the normalize function). Currently I
solved the problem changing the code in the updateEvent method with the
following line to compute 'startDelta' end 'endDelta' variables:
.........
if (e._id == event.id && e != event) {
startDelta = event.start - e.start;
endDelta = event.end ?
(event.end - (e.end || view.defaultEventEnd(event)))
: 0;
.....
Nov 26, 2009
Project Member
#1
adamrs...@gmail.com
Dec 20, 2009
please respond to this message if you need any more help. closing the issue. thanks
Status:
Done
Jan 7, 2010
HI Adam, thank you for your reply. I solve the issue. BR, Enrico
Apr 28, 2010
hellow ,I'm from chiness,my english is not good!
why can't it effect
eventClick: function(calEvent, jsEvent, view) {
$('#calendar').fullCalendar('updateEvent',[{id:926,
title: 'test',start:'2010-04-28 09:30:00',end:'2010-04-
10:30:00',allDay:false,className:'event1'}]);
}
|
|
| ► Sign in to add a comment |