Issue 138: eventDrop revertfunction not restoring event
Status:  Done
Owner: ----
Closed:  Nov 2009
Reported by pwilson...@gmail.com, Oct 20, 2009
What steps will reproduce the problem?
1. drag drop and call revertfuncion


What is the expected output? What do you see instead?
orginal event to be restore back to original date

What version of the product are you using? On what operating system?
V1.3.1 on Windows XP, firefox.

Please provide any additional information below.
snippet:

		eventDrop: function(cal, dayDelta, minuteDelta, revertFunc, jsEvent, ui,
view) {
			if (dayDelta <= 0 ) {
				alert("You cannot drop into the past, only future dates")
				revertFunc
				}
Oct 20, 2009
Project Member #1 adamrs...@gmail.com
i had to break compatibility with 1.3 and include an 'allDay' parameter. here is the 
complete argument list:
function(calEvent, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view)

see docs/changelog for more details. sorry about that
Oct 20, 2009
#2 pwilson...@gmail.com
note I was using 1.31 code so still using old function call.. but I have just
downloaded 1.4 and used the format :
revertFunc.call()

This appears to work... :)

you can close this issue

Nov 1, 2009
Project Member #3 adamrs...@gmail.com
you got it, it needs to be a function *call*

you can do revertFunc.call(), of the simpler way is to just do revertFunc()
Status: Done