the check boxes for "Affect teaser/body/rss output" fail to work when running jquery_update.module 6.x-2.x-dev. the bug is on line 34 with the selector of id*=enable.

if (Drupal.jsEnabled) {
  $(document).ready(function(){
    $("input[@id*=enable]")
      .click(Drupal.contemplate.toggle)
  });
}

should be

if (Drupal.jsEnabled) {
  $(document).ready(function(){
    $("input[id*=enable]")
      .click(Drupal.contemplate.toggle)
  });
}

Comments

shane birley’s picture

issue in contemplate.js

nigelcunningham’s picture

The suggested fix works for me (Content templates 6.x-1.1, Jquery 1.3.2).

Mike_Waters’s picture

Acc to jquery,
"The '@' in [@attr] has been removed. Deprecated since 1.2 this old syntax
no longer works"

Just an FYI

PixelClever’s picture

Should the version on this be listed as 6.1.1 instead of HEAD?

jrglasgow’s picture

Status: Active » Fixed

this fix has been committed

Status: Fixed » Closed (fixed)

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