I have web application built on JSP, with dojo included on each page it is used (almost every page).
If during browsing i am not waiting for pages to fully load and navigate to another one,
dojo throws a java script exception
"Error: dojo.body() is null or not an object"
As far as i understand dojo thinks it is loaded but navigating to another page spoils it's plannes.
this function throws this
onload: function(){
// summary:
// Function that detects if we are in high-contrast mode or not,
