Problem/Motivation

jQuery once has been removed as of D10, causing errors on pages where the library easy_email/preview is included.

Steps to reproduce

Access a page that includes the above library. Observe the error in the console.

Proposed resolution

Upgrade module library to core/once, and update the javascript to use once() instead of $.once() (which no longer exists).

Remaining tasks

None.

User interface changes

None.

API changes

None

Data model changes

None.

Issue fork easy_email-3416139

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Jaypan created an issue. See original summary.

jaypan’s picture

abhishek_gupta1 made their first commit to this issue’s fork.

abhishek_gupta1’s picture

Status: Active » Needs review

@mandclu, fix the issue and created MR. please kindly review the MR

zengenuity’s picture

Version: 2.0.x-dev » 2.1.x-dev
Status: Needs review » Fixed

This looks good. I've committed it to the 2.1.x branch. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.