The phpList module subscription form generates a minor Javascript error in Internet Explorer 7 (and possibly other versions)... IE complains of a syntax error in the following code:

onclick="if(this.value==)this.checked=true"

This arises from the following line in function phplist_subscribe_checkboxes:

'#attributes' => array('onclick' => 'if(this.value=='. $auto .')this.checked=true'),

because $auto is not always assigned a value. The fix is to insert the following at line 1169 of phplist.module v1.12.2.19 2009/03/26:

$auto = 0;

NB: phpList starts it's list numbering from 1.

--
Dominic Search
http://photographicon.com/

Comments

photographicon’s picture

Hi Paul, just to note that this fix didn't make it into release v 1.12.2.20 2009/05/11...

paulbeaney’s picture

Status: Active » Fixed

Fixed now.

Regards,

- Paul

Status: Fixed » Closed (fixed)

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