includes/clientside/static/enano-lib-basic.js
changeset 1034 15fa1b4e730a
parent 1023 5a282dbf8fad
child 1046 cfc6c30c5e2d
--- a/includes/clientside/static/enano-lib-basic.js	Sun Jul 05 00:57:02 2009 -0400
+++ b/includes/clientside/static/enano-lib-basic.js	Sun Jul 05 00:57:53 2009 -0400
@@ -210,7 +210,7 @@
       _f(e);
     }
   }
-  onload_hooks = null;
+  onload_hooks = [];
 }
 
 var enano_hooks = {};
@@ -311,7 +311,7 @@
     if ( ajax.readyState == 4 && ajax.status == 200 )
     {
       if ( onload_complete )
-        onload_hooks = new Array();
+        onload_hooks = [];
       eval_global(ajax.responseText);
       if ( window.jQuery && aclDisableTransitionFX )
         if ( window.jQuery.fx )
@@ -327,6 +327,7 @@
     load_hide_win();
     console.info("Component loader exception is shown below.");
     console.debug(e);
+    console.trace();
     throw('load_component(): XHR for component ' + file + ' failed');
   }