Closed (fixed)
Project:
Simple Dialog
Version:
7.x-1.6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2013 at 14:55 UTC
Updated:
15 Feb 2013 at 03:30 UTC
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...
| Comment | File | Size | Author |
|---|---|---|---|
| simple_dialog.js_.patch | 483 bytes | thomwilhelm |
Comments
Comment #1
drclaw commentednice one. Thanks!
Comment #2
drclaw commentedFixed! 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)
Comment #3
drclaw commentedForgot to mark as fixed...