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().

CommentFileSizeAuthor
#1 admin-jquery_cookie_load-2205795-1.patch582 bytessdelbosc

Comments

sdelbosc’s picture

Status: Active » Needs review
StatusFileSize
new582 bytes

Suggested patch.

sickness29’s picture

Status: Needs review » Closed (outdated)

D7 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!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.