Conflict with Opigno Moxtra, CKEditor and external js libraries

Created on 3 February 2022, almost 3 years ago
Updated 5 November 2024, 19 days ago

Problem/Motivation

The Ajax request on opigno_notification here causes a refresh every minute that conflicts with Moxtra and refreshes the video meet

// Update messages. Run every minute and refresh.
      if (typeof url !== 'undefined' && !$('body').hasClass('user-messages-auto-check')) {
        setInterval(function () {
          Drupal.ajax({
            type: 'POST',
            url: url,
            async: false,
          }).execute();
        }, 1000 * 60 );
        $('body').addClass('user-messages-auto-check');
      }

Steps to reproduce

Have both notifications and Moxtra enabled, go to a meeting room and wait 1 minute and there will be a refresh

Proposed resolution

I'll see if I can provide a MR

🐛 Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

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.

  • 🇧🇷Brazil gfbarbosa

    The same occurs when a formatted field (for example with CKEditor) is loaded, the ajax response refreshes the page and removes the CKEditor from the field.

Production build 0.71.5 2024