includes/clientside/jsres.php
changeset 1053 bdbb49cf6f1b
parent 1046 cfc6c30c5e2d
child 1056 f21d6e75b469
--- a/includes/clientside/jsres.php	Sat Jul 11 20:24:19 2009 -0400
+++ b/includes/clientside/jsres.php	Sat Jul 11 20:25:50 2009 -0400
@@ -197,7 +197,7 @@
       $file_contents = file_get_contents("includes/clientside/static/$js_file");
       $everything .= jsres_cache_check($js_file, $file_contents) . ' loaded_components[\'' . $js_file . '\'] = true;';
     }
-    $everything .= 'if ( onload_complete ) { console.debug("running hooks from jsres"); runOnloadHooks(); onload_hooks = []; };';
+    $everything .= 'if ( onload_complete ) { runOnloadHooks(); onload_hooks = []; };';
   }
   else
   {
@@ -210,7 +210,7 @@
     $apex = filemtime("includes/clientside/static/$js_file");
     
     $file_contents = file_get_contents("includes/clientside/static/$js_file");
-    $everything = jsres_cache_check($js_file, $file_contents) . ' loaded_components[\'' . $js_file . '\'] = true; if ( onload_complete ) { console.debug("running hooks from jsres"); runOnloadHooks(); onload_hooks = []; };';
+    $everything = jsres_cache_check($js_file, $file_contents) . ' loaded_components[\'' . $js_file . '\'] = true; if ( onload_complete ) { runOnloadHooks(); onload_hooks = []; };';
   }
 }
 else