This repository has been archived by the owner on Aug 14, 2020. It is now read-only.
forked from fullcalendar/fullcalendar
-
Notifications
You must be signed in to change notification settings - Fork 13
revertFunc does not revert to previous resource. #16
Comments
@jmarquesh Did you find the solution for it? |
I may have a solution. I will have to check tonight. |
Search for this:
Inside that object search for this line:
Inside that function search for this:
Below that comment modify the existent code to match this:
Search for the function eventDrop, add the oldResourceId parameter:
In the same function call moveEvents sending the oldResourceId:
Add the oldResourceId parameter to moveEvents:
Add these lines before the call to normalizeEvents:
Write again if you have questions. |
Hey i ve tried your code, but it didnt work. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When dropping an event in a new resource, if you call revertFunc to revert the changes, it will revert only the date and time, not the resource.
The text was updated successfully, but these errors were encountered: