includes/clientside/static/misc.js
changeset 320 112debff64bd
parent 315 f49e3c8b638c
child 326 ab66d6d1f1f4
child 339 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);