Noticing that ajax.js if not loaded in the header can cause issues with ajax links if clicked before the js in the footer is loaded.

Thinking this will require the following to be in the head if ajax.js is used on the page.
jquery.js
jquery.once.js

And maybe these as well
drupal.js
inline Drupal.settings

Not sure about jquery-ui if that's needed in the header as well.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Made this configurable via hook_advagg_mod_get_lists_alter

  • mikeytown2 committed 0052846 on 7.x-2.x
    Issue #2508583 by mikeytown2: Allow for the all in footer behavior to...
mikeytown2’s picture

Status: Active » Fixed
FileSize
6.52 KB
mikeytown2’s picture

Status: Fixed » Needs work

Doesn't work with the aggressive render cache.

mikeytown2’s picture

I'll need to look into this more... looks complicated like usual.

mikeytown2’s picture

Status: Needs work » Needs review
FileSize
7.92 KB

I'll be going over this tomorrow.

  • mikeytown2 committed d5b1845 on 7.x-2.x
    Issue #2508583 by mikeytown2: Move JS to the footer - new level and fix...
mikeytown2’s picture

Status: Needs review » Fixed
FileSize
9.17 KB

  • mikeytown2 committed f2af7df on 7.x-2.x
    Issue #2508583 by mikeytown2: Get the agressive cache speed back.
    
mikeytown2’s picture

Got back most of the speed by calling a sub set of advagg_mod_js_alter instead of the whole thing.

Status: Fixed » Closed (fixed)

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

praveen_91’s picture

Component: AdvAgg Modifier » Code

Hi, mikeytown2
I am using Advanced CSS/JS Aggregation module every things work for me but when i have use "Move JS to the footer" => All but JavaScript Libraries option,
then i am getting issue with "jui_dropdown". its icon not show (dropdown icon).
thanks for your help.

mikeytown2’s picture

@praveen_91
Please open up a new issue for help with http://www.pontikis.net/labs/jui_dropdown/. Give a full example of how to reproduce the bug you are having.