includes/clientside/static/misc.js
changeset 259 112debff64bd
parent 254 f49e3c8b638c
child 266 5d62ef764b0d
--- a/includes/clientside/static/misc.js	Wed Dec 12 21:46:28 2007 -0500
+++ b/includes/clientside/static/misc.js	Sat Dec 15 18:10:14 2007 -0500
@@ -335,7 +335,8 @@
         var response = String(ajax.responseText);
         if ( response.substr(0,1) != '{' )
         {
-          alert('Invalid JSON response from server: ' + response);
+          handle_invalid_json(response);
+          ajax_auth_mb_cache.destroy();
           return false;
         }
         response = parseJSON(response);