robmonie / jquery-week-calendar

Now actively maintained in the following fork - https://github.com/themouette/jquery-week-calendar
388 stars 391 forks source link

Events intermittantlly not sticking to calendar on move #1

Closed salonmonster closed 14 years ago

salonmonster commented 14 years ago

Hi,

Great weekly cal that you've built up. Thanks so much for your efforts.

We're having a problem with events not successfully moving to a new location when dragged, instead they are going back to their previous date and time.

We grab an event and drag it to a new location, but it just doesn't stick.

It seems to happen randomly, we can't really figure out a pattern. Possibly larger moves are a problem, also moving events to the right on the page seems to be a bit worse.

We've tried this out in firefox and safari for the mac.

further research turns up that the full_demo version seems to work ok, just not the demo in root of the folder, or the demo on github

pverrone commented 14 years ago

I have run into this on an application I am building with your plugin. (Great plugin btw!) Hope this can be fixed soon.

brendankowitz commented 14 years ago

could be related to: http://code.google.com/p/jquery-week-calendar/issues/detail?id=104 There is definately a bug inside "_adjustForEventCollisions" that can cause dragged and resized events to revert.

robmonie commented 14 years ago

I've implemented the solution posted in http://code.google.com/p/jquery-week-calendar/issues/detail?id=104 which seems to do the trick.

-rob