In my context I need jquery.cookie.js to be loaded very early and the way it is loaded by admin module prevents this from happening.
I had to update the code which loads this library to be able to load it as early as it should be. I replaced drupal_add_js() by druapl_add_library().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | admin-jquery_cookie_load-2205795-1.patch | 582 bytes | sdelbosc |
Comments
Comment #1
sdelbosc commentedSuggested patch.
Comment #2
sickness29 commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D7 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!