AnsweredAssumed Answered

Odd timing issue on IE10 (maybe others)

Question asked by amarsden on Oct 8, 2014
Latest reply on Oct 14, 2014 by amarsden
Branched to a new discussion

exception in animation handler for:onAnimate

TypeError: Unable to get property 'width' of undefined or null reference

Hi

 

I have a site, it is accessed at times with URLs with parameters (default zoom, default layers, and stuff)

 

In IE if I go straight via a shortcut/hyperlink elsewhere I get

 

exception in animation handler for:onAnimate 
TypeError: Unable to get property 'width' of undefined or null reference 

 

 

In the IE debug window and something then goes splut and nothing loads.

 

I use the browser refresh and all is fine.  If I go to the URL bar in IE and hit enter it fails again

 

Tome, this looks like my init function isn't completing at the right time and various components haven't been loaded, but why this odd behaviour that it only fails when going there directly, and not on refresh?  It even works if I clear the cache before hitting refresh, so it isn't the fact that it loads the scripts locall;y, therefore faster.

 

Puzzled!

 

ACm

Outcomes