My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2319: eventClick result in an error (migrating from 1.5.3 > 2.1.1)
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Oct 2014


Sign in to add a comment
 
Reported by ble...@sellsy.com, Oct 14, 2014
Hello,

After a long use of fullCalendar we decide to migrate to 2.x.x
So i started to changed style and to modify my source code to integrate that and then ... i found a strange bug
(console log > http://i.imgur.com/Faiv48O.png)

After a day of search, we find the clue ! In the DragListener.startListening, you check if the scrollParent is the window of the document.
Here is the problem, you can't search on the window directly, you need to search on document.window.

So the function would become: https://gist.github.com/anonymous/f51240ae4ae19b750362
Oct 30, 2014
Project Member #1 adamrs...@gmail.com
`window` and `document.window` should be identical objects. unless somewhere in your code declares a global variable of your own called `window` (in which case you have much larger problems). I have a strong feeling some side effects of your code are causing this problem.

please resubmit as a new ticket with a jsfiddle recreation:
http://fullcalendar.io/wiki/Reporting-Bugs/
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting