{"action":"created","issue":{"url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/2830","labels_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/2830/labels{/name}","comments_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/2830/comments","events_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/2830/events","html_url":"https://github.com/fullcalendar/fullcalendar/issues/2830","id":101924187,"number":2830,"title":"Scheduler drag-n-drop: eventDrop should show previous resourceId","user":{"login":"danielsmacdonald","id":7915827,"avatar_url":"https://avatars.githubusercontent.com/u/7915827?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsmacdonald","html_url":"https://github.com/danielsmacdonald","followers_url":"https://api.github.com/users/danielsmacdonald/followers","following_url":"https://api.github.com/users/danielsmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/danielsmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsmacdonald/subscriptions","organizations_url":"https://api.github.com/users/danielsmacdonald/orgs","repos_url":"https://api.github.com/users/danielsmacdonald/repos","events_url":"https://api.github.com/users/danielsmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/danielsmacdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T15:47:49Z","updated_at":"2015-10-11T04:16:00Z","closed_at":"2015-10-11T04:15:59Z","body":"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)?\r\n\r\nMaybe replace `delta` with `prevEvent` object? Or just add a property to `event`, something like `event.prevResourceId` or `event.prevLocation`.\r\n\r\nCurrently 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."},"comment":{"url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/comments/147152694","html_url":"https://github.com/fullcalendar/fullcalendar/issues/2830#issuecomment-147152694","issue_url":"https://api.github.com/repos/fullcalendar/fullcalendar/issues/2830","id":147152694,"user":{"login":"arshaw","id":56520,"avatar_url":"https://avatars.githubusercontent.com/u/56520?v=3","gravatar_id":"","url":"https://api.github.com/users/arshaw","html_url":"https://github.com/arshaw","followers_url":"https://api.github.com/users/arshaw/followers","following_url":"https://api.github.com/users/arshaw/following{/other_user}","gists_url":"https://api.github.com/users/arshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/arshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arshaw/subscriptions","organizations_url":"https://api.github.com/users/arshaw/orgs","repos_url":"https://api.github.com/users/arshaw/repos","events_url":"https://api.github.com/users/arshaw/events{/privacy}","received_events_url":"https://api.github.com/users/arshaw/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T04:15:59Z","updated_at":"2015-10-11T04:15:59Z","body":"moved this feature request over here: https://github.com/fullcalendar/fullcalendar-scheduler/issues/39"}}