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

Already on GitHub? Sign in to your account

Regression: Undefined calEvent Error on Drag and Drop #130

Closed
csytan opened this Issue Apr 4, 2012 · 4 comments

Comments

Projects
None yet
2 participants

csytan commented Apr 4, 2012

When dragging and dropping an event (using latest version in Master), there is an error caused by an undefined calEvent.
"Uncaught TypeError: Cannot read property 'start' of undefined"

To reproduce:

  1. Download latest version of jquery-week-calendar (as of this post April 4th, 2012)
  2. Open "weekcalendar_demo_4.html" and drag and drop an event
  3. Error is shown in the js console

This bug is not present in the older version hosted here:
http://themouette.github.com/jquery-week-calendar/full_demo/weekcalendar_full_demo.html

@K-Phoen K-Phoen closed this in 874715d Apr 4, 2012

@K-Phoen K-Phoen reopened this Apr 4, 2012

Collaborator

K-Phoen commented Apr 4, 2012

Hi,

Can you check this commit and tell me if it fixes your problem?

Thanks for your feedback ;)

csytan commented Apr 4, 2012

Hey there,

Thanks for the quick reply! Unfortunately I still get the same error. It's within this method:

_findWeekDayForEvent()

Collaborator

K-Phoen commented Apr 5, 2012

Should be better now, can you confirm?

csytan commented Apr 5, 2012

The new version fixes the problem. Thanks!

@csytan csytan closed this Apr 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment