The following patch uses the 'group' => JS_LIBRARY option that is new to drupal_add_js() in D7 to ensure that library-level js files are included first before all others. When using Views with various other contrib projects this prevents Views' calls to drupal_add_js() from possibly weighting the library files above other files that expect them to be included earlier.

CommentFileSizeAuthor
js_library.patch1.8 KByhahn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yhahn’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.