Remove jQuery once dependency

Created on 17 January 2024, 10 months ago
Updated 28 April 2024, 7 months ago

Problem/Motivation

The file /js/conflict_resolution.js contains deprecated code related to jQuery once. This is causing console log errors with D10 in

$('.conflict-resolution-dialog .conflict-resolve-conflicts').once('bind-conflict-resolve-conflicts').each(function () {
        $(this).on('click', function () {
          $('#conflict-overview-form [name="conflict-resolve-conflicts"]').mousedown();
        });
      });

Steps to reproduce

Do a field conflict with D9.2 higher or D10

Proposed resolution

See change record https://www.drupal.org/node/3158256

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇫🇮Finland Onnia

Live updates comments and jobs are added and updated live.
  • jQuery

    Affects the version, handling, or usage of the jQuery javascript library.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024