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.
Hi there. I came across an issue with a JavaScript file that needs to be placed before another to function properly. When rendering the JS for a hard load, Drupal correctly sorts the files according to their weight/group/etc. properties, but this module doesn't seem to do so. I've attached a patch that uses the same sorting mechanism as drupal_get_js().
Comment | File | Size | Author |
---|---|---|---|
ajax_pages_cssjs_sort.patch | 543 bytes | Ambient.Impact |
Comments
Comment #2
alex.skrypnykThe patch is working correctly.