thekingsimo / jquery-week-calendar

Automatically exported from code.google.com/p/jquery-week-calendar
0 stars 0 forks source link

When allowCalEventOverlap is set to false, events are resized when they shouldn't be #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using your excellent week calendar, I noticed that if I moved an event
whose end time overlapped another event's start time, it was resized (when
it shouldn't be).

I have provided a patch that works in a similar way to the other checks in
_adjustForEventCollisions, in that any event whose end time overlaps
another events start time, it is returned to whence it came.

I have provided a patch against rev 51.

I hope it helps and thanks for providing such a great plugin.  If I can fix
and other bugs or implement any new features, I will be happy to *try* and
assist :)

Original issue reported on code.google.com by kwakwave...@gmail.com on 14 Aug 2009 at 6:46

Attachments:

GoogleCodeExporter commented 8 years ago
I can't reproduce your problem here, using rev 52. 
Did the problem existed when you had 2 adjacent events, as in the endtime of 1 
was
the beginning of the second ?

Original comment by rdelan...@gmail.com on 18 Aug 2009 at 11:58

GoogleCodeExporter commented 8 years ago
I have attached a picture to better describe what I mean.  Hope this clarifies 
things.

Original comment by kwakwave...@gmail.com on 18 Aug 2009 at 12:54

Attachments:

GoogleCodeExporter commented 8 years ago
I'm not completely happy with the way i've implemented this but for now it 
covers off
the problem. I may make this behaviour a bit smarter in the future. This change 
will
be in the 1.2.2 release.

Original comment by robmo...@gmail.com on 22 Sep 2009 at 12:09