- Issue created by @Harpreet_singh_saluja
- Status changed to Fixed
3 months ago 11:45am 24 April 2025
This update ensures compatibility with Drupal 11 by replacing deprecated functions and improving adherence to Drupal coding standards.
Changes Included:
Updated JavaScript to use Drupal, once instead of jQuery.
Replaced $.ajax with fetch() for modern request handling.
Used once() correctly for event binding to avoid duplicate executions.
Improved variable scoping and event listener handling.
Ensured proper DOM element checks to prevent runtime errors.
Updated *.libraries.yml dependencies to remove unnecessary entries.
These changes improve performance, maintainability, and compliance with Drupal 11 best practices.
Active
1.0
Code