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

CommentFileSizeAuthor
ajax_pages_cssjs_sort.patch543 bytesAmbient.Impact
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ambient.Impact created an issue. See original summary.

alex.skrypnyk’s picture

Status: Needs review » Reviewed & tested by the community

The patch is working correctly.