Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
jquery_update_get_version function not working for some jquery.min.js
Comment | File | Size | Author |
---|---|---|---|
#1 | 1459286-jquery_update-6.x-2.0-alpha1+7-dev-jquery_update_get_version-2.patch | 789 bytes | travist |
jquery_update-6.x-2.0-alpha1+7-dev-jquery_update_get_version.patch | 781 bytes | orangeudav | |
Comments
Comment #1
travist CreditAttribution: travist commentedWe were having the same problem. This can cause big issues if you are using the Features + Strongarm modules to set the jquery_update_replace variable to TRUE. Without this logic, it will force it to be FALSE, which isn't correct.
I have also updated the patch since the one above was not applying to our codebase for some reason.
Thanks,
Travis.
Comment #2
quicksketchLet's consolidate with #813918: jQuery update not replacing js files in Drupal 6. It uses a different approach but gets the job done more efficiently.