jQuery update not replacing js files in Drupal 6.16.

Posted by vr3690 on Stack Overflow See other posts from Stack Overflow or by vr3690
Published on 2010-05-31T20:32:25Z Indexed on 2010/05/31 20:33 UTC
Read the original article Hit count: 269

Filed under:
|
|

Hi,

I am using jquery update in drupal 6.16 along with a lot of other modules.

I am trying to use jquery ui 1.7.2 to render tabs. But unfortunately they don't work properly since jquery update is not replacing the jquery file (jquery 1.3.2). I checked the version using $.fn.jquery (in firebug) and got 1.2.6 (not 1.3.2 as required) as the result - and as expected the aggregated js file was using the 1.2.6 version of jquery (see source).

earlier I had just replaced the core script files in /misc with the js files in sites/default/modules/jquery_update/replace folder (like you'd do in 5.x) and got the necessary result (i also renamed jquery.min.js to jquery.js ).

now suddenly that stopped working after i upgraded to 6.x-2.0-alpha1 and also installed the mollom module. disabling/uninstalling mollom or down-grading jQuery update does not seem to help.

the problem only occurs on the front page though. other content pages have jQuery 1.3.2

the problem can be seen here.

So, basically, for some reason, jquery update is not replacing the jquery files (as it is supposed to) on the front page. and i cannot figure out why that happens.

any ideas?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about drupal