| Issue 138: | eventDrop revertfunction not restoring event | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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
Oct 20, 2009
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
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
|
|
| ► Sign in to add a comment |