Using jquery_update patched up to jquery 1.7 (see http://drupal.org/node/1067290)

Comments

danielhonrade’s picture

thanks, I'll check on this.

danielhonrade’s picture

Status: Active » Closed (fixed)

In 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.