Problem/Motivation

When implementing this module, the use of deprecated jQuery methods were found.

Steps to reproduce

Proposed resolution

Change $(document).ajaxStop(initializeAutocomplete); to $(document).on('ajaxStop', initializeAutocomplete);

or even better, remove the dependency on jQuery
document.addEventListener('ajaxStop', initializeAutocomplete);

Remaining tasks

Update the code and then merge the request.

User interface changes

None

API changes

None

Data model changes

None

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

Tregonia created an issue. See original summary.

tregonia’s picture

Assigned: Unassigned » tregonia
tregonia’s picture

The update in this issue is also included as part of 3414138.

Tregonia changed the visibility of the branch 3414102-use-of-jquery to hidden.

Tregonia changed the visibility of the branch 3414102-use-of-jquery to hidden.

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

abhishek_gupta1’s picture

Status: Active » Needs review

@vedprakash, i have fixed the issue and please kindly review the MR