But I also have another JS error caused by Google Analytics Counter "Uncaught TypeError: Property '$' of object [object Window] is not a function" (Chrome) or "$ is not a function" (FF) on

$(document).ready(function(){
setTimeout("gac_request_new_count()",7000);
});

In normal js files there you start with:

(function ($) {
and end
})(jQuery);

But this you dont do in your inline code.
Cause of this you have to use jQuery() insted of $()

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

greenrover33’s picture

Status: Patch (to be ported) » Needs review
Vacilando’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Status: Needs work » Needs review

Nice one, @greenrover33 -- now applied in 7.x-1.2!

Vacilando’s picture

Version: 7.x-1.1 » 6.x-2.x-dev
Status: Needs review » Needs work

We also need this fix for D6 -- care to supply roll that one as well, @greenrover33?

Vacilando’s picture

Version: 7.x-1.x-dev » 7.x-1.2
Status: Needs review » Fixed

Seems like the D6 version of GAC is not producing these JS errors. If you find it does, please reopen this issue.

Status: Fixed » Closed (fixed)

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