Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler drag-n-drop: eventDrop should show previous resourceId #2830

Closed
danielsmacdonald opened this issue Aug 19, 2015 · 1 comment
Closed

Comments

@danielsmacdonald
Copy link

The eventDrop callback has these arguments: (event, delta, revertFunc, jsEvent, ui, view). When used with Scheduler, event.resourceId represents the new location of the event. Could we have something to represent the old location (resourceId before the move)?

Maybe replace delta with prevEvent object? Or just add a property to event, something like event.prevResourceId or event.prevLocation.

Currently I'm adding the resourceId to the event in duplicate (one with a different name) so only one gets overridden and I can still read the old one. But this is messy and error prone.

@arshaw
Copy link
Member

arshaw commented Oct 11, 2015

moved this feature request over here: fullcalendar/fullcalendar-workspace#39

@arshaw arshaw closed this as completed Oct 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants