Firefox < 9.0.1 does not call document.body.onload ... we must use window.onload...
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Fri, 27 Jan 2012 23:31:17 +0000 (15:31 -0800)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Fri, 27 Jan 2012 23:31:17 +0000 (15:31 -0800)
src/main/webapp/client.xhtml

index ae01eb6..b50e01f 100644 (file)
@@ -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