Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using jquery_update patched up to jquery 1.7 (see http://drupal.org/node/1067290)
Comments
Comment #1
danielhonrade CreditAttribution: danielhonrade commentedthanks, I'll check on this.
Comment #2
danielhonrade CreditAttribution: danielhonrade commentedIn jQuery 1.7, the value checking for checkbox has changed from 'true' to 'checked'
Before:
$(this).attr('checked') == true)
Now with jquery 1.7:
$(this).attr('checked') == 'checked')
I added both for compatibility:
if(($(this).attr('checked') == true) || ($(this).attr('checked') == 'checked')) {
Updated om dev versions.