Export to GitHub

svgweb - issue #307

Window resize handler can sometimes throw exceptions on IE if Flash not ready


Posted on Sep 17, 2009 by Massive Bird

While creating the Wikipedia prototype I noticed that on IE if I changed the position style property from absolute to relative that a window resize event gets thrown; this can sometimes cause a null pointer exception because handler.flash isn't initialized correctly. Make the onWindowResize method a bit more robust if it gets fired before things are finished running.

Comment #1

Posted on Sep 17, 2009 by Massive Bird

r863 closes this.

Status: Fixed

Labels:
Type-Defect Priority-Medium