It seems that the simple_dialog module causes a Javascript error if the following code is hit in IE8:

Drupal.simpleDialog.log = function(msg) {
    if (console) {
        console.log(msg);
    }
}

In IE8 this gives me the following error (and stops other javascript execution):

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2)
Timestamp: Thu, 31 Jan 2013 14:49:51 UTC
Message: 'console' is undefined

I have researched the issue and added a suggested patch to this ticket, see a related thread on StackOverflow:

http://stackoverflow.com/questions/3326650/console-is-undefined-error-fo...

CommentFileSizeAuthor
simple_dialog.js_.patch483 bytesthomwilhelm

Comments

drclaw’s picture

nice one. Thanks!

drclaw’s picture

Fixed! I pushed a new release which should be available in the next 5 minutes.

Thanks @ThomWilhelm! I attributed the commit to you. Not bad for less than 24 hours on drupal.org! (Check out your d.o profile page, there's a commit listed for simple_dialog)

drclaw’s picture

Status: Active » Fixed

Forgot to mark as fixed...

Status: Fixed » Closed (fixed)

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