From: Michael Jumper Date: Fri, 27 Jan 2012 23:31:17 +0000 (-0800) Subject: Firefox < 9.0.1 does not call document.body.onload ... we must use window.onload... X-Git-Url: http://git.alex.org.uk Firefox < 9.0.1 does not call document.body.onload ... we must use window.onload instead. --- diff --git a/src/main/webapp/client.xhtml b/src/main/webapp/client.xhtml index ae01eb6..b50e01f 100644 --- a/src/main/webapp/client.xhtml +++ b/src/main/webapp/client.xhtml @@ -98,7 +98,7 @@ // Start connect after control returns from onload (allow browser // to consider the page loaded). - document.body.onload = function() { + window.onload = function() { window.setTimeout(function() { // Instantiate client