Posted by Shane Birley on June 11, 2009 at 3:43pm
Jump to:
| Project: | Content Templates (Contemplate) |
| Version: | master |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
issue in contemplate.js
#2
The suggested fix works for me (Content templates 6.x-1.1, Jquery 1.3.2).
#3
Acc to jquery,
"The '@' in [@attr] has been removed. Deprecated since 1.2 this old syntax
no longer works"
Just an FYI
#4
Should the version on this be listed as 6.1.1 instead of HEAD?
#5
this fix has been committed
#6
Automatically closed -- issue fixed for 2 weeks with no activity.