includes/clientside/static/misc.js
changeset 140 40f7fa5fd061
parent 135 c5dbad7ec2d0
child 144 380e55865f86
--- a/includes/clientside/static/misc.js	Thu Sep 20 11:27:49 2007 -0400
+++ b/includes/clientside/static/misc.js	Sun Sep 23 18:42:16 2007 -0400
@@ -446,11 +446,14 @@
     'level' : ajax_auth_level_cache
   };
   
-  window.console.debug(json_data);
+  if ( window.console )
+    window.console.debug(json_data);
   json_data = toJSONString(json_data);
-  window.console.debug(json_data);
+  if ( window.console )
+    window.console.debug(json_data);
   json_data = encodeURIComponent(json_data);
-  window.console.debug(json_data);
+  if ( window.console )
+    window.console.debug(json_data);
   
   var loading_win = '<div align="center" style="text-align: center;"> \
       <p>Logging in...</p> \