More details are here (Especially note Comment #4):
#825298: Panel/ctools selection rule ajax error

That issue is directly related, but the maintainer closed that one “as designed.”

There is no design in Drupal, however, that should allow a reference of an undefined JavaScript variable.

I have classified this as a “major” issue because it manifests itself to end users (e.g. via a warning icon in MSIE).

This trivial patch is for 6.x-1.7. It simply checks for the existence of the jQuery object before referencing it.

Files: 
CommentFileSizeAuthor
ctools.module.patch705 bytesDaniel Norton

Comments

Anonymous’s picture

I'm having this issue, too. The problem is that a script block is being inserted at the bottom of the page that references jQuery (jQuery.extend(Drupal.settings, { "CToolsAJAX": ... ) but the jQuery library isn't being explicitly loaded.

This only happens when there is no other scripting on the page (and thus no need for jQuery to be included). If you have a script.js file or some other module is requiring jQuery (like the admin menu) then jquery gets loaded, and everything is fine.

merlinofchaos’s picture

Status:Needs review» Closed (duplicate)
Issue tags:-jQuery

You should always make patches against latest CVS. If you did this, you'd know that this was already fixed.