Problem/Motivation
When implementing this module, the use of deprecated jQuery methods were found.
Steps to reproduce
- Look at the code at Module repo
- Review the documentation for
.ajaxStop()at https://api.jquery.com/ajaxStop-shorthand/ - Notice the deprecation information
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
Issue fork google_place_autocomplete-3414102
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
Comment #2
tregonia commentedComment #3
tregonia commentedThe update in this issue is also included as part of 3414138.
Comment #8
abhishek_gupta1 commented@vedprakash, i have fixed the issue and please kindly review the MR