In ddblock.js, the line (line 282 in the version I have):

if (custom && custom[0] = ='{') {

parses correctly in all browsers I've tried, except IE 7. In IE 7 "custom[0]" is 'undefined'. Changing "custom[0]" to "custom.substr(0,1)" works however in IE 7 as well as the other browsers.

Curious thing is my custom string is "{'timeout':0} to prevent auto-advance of the slides. For some reason setting the timeout value to 0 in the drop-down and without this custom string, the auto-advance is constant - no delay moving from one slide to the next. I realize this is a different issue, but thought you ought to know how I came upon the bug described above.

This is running on Drupal 7.7, though I doubt that is relative to this issue.

Comments

ppblaauw’s picture

Status: Active » Needs review

Thanks for reporting.
Will change in ddblock.js:

        //set custom options, custom need to start with the character {,
        //to prevent errors from a wywsiwyg editor which adds e.g. <br /> to the custom field.
        if (custom && custom.[0] == '{') {

to

        //set custom options, custom need to start with the character {,
        //to prevent errors from a wywsiwyg editor which adds e.g. <br /> to the custom field.
        if (custom && custom.substr(0,1) == '{') {
ppblaauw’s picture

Title: IE 7 not parsing custom options correctly » IE 7 not parsing custom options correctly (Fixed)
Status: Needs review » Fixed

Committed to dev and 7.x-1.0

Status: Fixed » Closed (fixed)

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