vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate calling eventSources.events function in dayGridMonth view

dimakovalevskyi opened this issue · comments

Hello!

I use this code to load events dynamically via Ajax:

eventSources: [
  {events: loadEvents}
]

And when the calendar starts with dayGridMonth view, loadEvents function is called twice with different time ranges. This triggers two Ajax requests simultaneously after loading the page and executing js.
image

I think this is a bug. Can be this fixed?

I prepared Demo to show you.
image

I confirm this is a bug. I'll try to fix it a.s.a.p.

I confirm this is a bug. I'll try to fix it a.s.a.p.

Thank you a lot!

This should be fixed in v1.4.1. Please check.

I confirm the bug is fixed. Thank you!
I will close issue.