sangltdn / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

IE parentNode is null CRITICAL ERROR #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are getting a javascript error in IE version with Flot 0.6. The problem
line is:

el.parentNode.replaceChild(newEl, el);

Throws error, parentNode is null. Appears this is a bug with IE, where
parentNode is not defined, it is parentElement. Can't you use jquery
instead and have it handle all this cross browser BS? Somthing like:

$(el).parent().replaceChild(newEl, el);

Original issue reported on code.google.com by jkeller%...@gtempaccount.com on 14 Jan 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Found the problem, we recently upgrade the flot.js file, but FORGOT to update
excanvas.js. The problem was in the old excanvas.js.

Original comment by jkeller%...@gtempaccount.com on 14 Jan 2010 at 7:36

GoogleCodeExporter commented 9 years ago
Ah, OK. 

Original comment by olau%iol...@gtempaccount.com on 20 Jan 2010 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:39