includes/clientside/static/misc.js
changeset 320 112debff64bd
parent 315 f49e3c8b638c
child 326 ab66d6d1f1f4
child 339 5d62ef764b0d
equal deleted inserted replaced
319:8be996c3740d 320:112debff64bd
   333       if ( ajax.readyState == 4 )
   333       if ( ajax.readyState == 4 )
   334       {
   334       {
   335         var response = String(ajax.responseText);
   335         var response = String(ajax.responseText);
   336         if ( response.substr(0,1) != '{' )
   336         if ( response.substr(0,1) != '{' )
   337         {
   337         {
   338           alert('Invalid JSON response from server: ' + response);
   338           handle_invalid_json(response);
       
   339           ajax_auth_mb_cache.destroy();
   339           return false;
   340           return false;
   340         }
   341         }
   341         response = parseJSON(response);
   342         response = parseJSON(response);
   342         var level = ajax_auth_level_cache;
   343         var level = ajax_auth_level_cache;
   343         var form_html = '';
   344         var form_html = '';