views:

20

answers:

0

Hi, I have installed jQuery_update for Drupal because I needed an up to date version of the library. In my theme I have this line adds the scripts to my page:

It works perfectly when I am logged in as an administrator. jQuery_update will appear in the source code and take control. The problem is when I am not authenticated: no jQuery and no other javascript is added at all to my source code.

If I change this $scripts way of launching jquery_update to the code below...

... jquery_update does not get loaded at all and Drupal defaults to the regular /misc/jquery.js original library.

Any ideas how to solve this? I have been searching the documentation with no success. Thank you!