Calendar rebuilt for all ajax requests on a page

Created on 15 April 2022, about 3 years ago
Updated 5 June 2025, 22 days ago

Problem/Motivation

In the fullcalendar_view.js, the calendar gets rebuilt on $(document).ajaxComplete. The issue is that I have a separate widget on the page that's doing polling and updating the dom every 30 seconds or so, so while I'm browsing the calendar, it resets to the month view every 30 seconds while I scroll down the list.

Steps to reproduce

Set a timer in JavaScript to make a $.ajax() call. While timer is counting down, change to the 'week' view of the Fullcalendar. Notice when it times out and the AJAX call is complete, it resets back to the main (month) view.

Proposed resolution

???

Remaining tasks

  • Identify correct fix
  • Implement
  • Test

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrisfromredfin Portland, Maine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States dcam

    I've volunteered to help clean up the FullCalendar issue queue. As part of that effort I'm closing issues open for unsupported versions of the module as "Closed (outdated)".

    If this issue is still relevant for version 3.x of FullCalendar, then feel free to re-open it and update the issue version number.

Production build 0.71.5 2024