Using jquery_update patched up to jquery 1.7 (see http://drupal.org/node/1067290)
thanks, I'll check on this.
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.
Comments
Comment #1
danielhonrade commentedthanks, I'll check on this.
Comment #2
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.