themouette / jquery-week-calendar

A weekly calendar plugin based on jquery and jquery-ui
http://groups.google.com/group/jquery-week-calendar
720 stars 253 forks source link

Ajax problems with jQuery 1.11.1 #183

Open bugman2000 opened 10 years ago

bugman2000 commented 10 years ago

Hi,

I'm trying to get the calendar working on a Wordpress site using jQuery 1.11.1. If I force the site to load jQuery 1.4, the calendar seems to work fine, but this breaks other functionality. Using jQuery 1.11, the calendar displays its header (the portion with the days of the week written out) but then doesn't display the rows of the calendar body.

I'm new to jQuery, but I've been trying to track down the issue in Chrome's javascript console. Something suspicious is happening with the _currentAjaxCall variable. You can see from the screenshots below that if I put a breakpoint on line 1263 the value of that variable is different depending on the jQuery version I'm using.

With jQuery 1.4. the value of _currentAjaxCall at this point is XMLHttpRequest: http://i.imgur.com/LHFswkv.jpg

With jQuery 1.11, the value is Object: http://i.imgur.com/GrC9Y6E.jpg

As far as I can see nothing changes between these two configurations except for which jQuery version is being used.

Any ideas about what I should be looking at?

Thanks,

T

guicara commented 10 years ago

I ran into similar problems with jQuery >= 1.8. The calendar displays its header but doesn't display its content.

kitmenke commented 9 years ago

@guicara Did you upgrade jQuery UI as well? Try using jQuery 1.11.2 and jQuery UI 1.11.4.